I just use a hosts file and add as many domains as I like. Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com
-----Original Message----- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, February 23, 2011 8:52 PM To: cf-talk Subject: I think I'm confused... I've started working on an MSOC application and was setting up some test code which uses the cgi.server_name as the determining value for setting all the specific site variables. Then, I realized that this wouldn't work for local development using "http://localhost" because there would be not cgi.server_name (except localhost) to reference in the browser. I guess I can set up a domain in the database for "localhost" and treat that the same way I would treat a regular domain, but I wouldn't be able to switch between various sites locally that way. Is an MSOC app testable for various domains only on a server, where DNS is running, as opposed to locally? (There is probably a simple solution for this, but I've been reading and thinking about this so much I "can't see the forest for the trees!" ??? Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342545 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm