Rick--

Modify your Windows hosts file for each domain you want reflected. It overrides 
external dns.
Windows/system32/drivers/etc/hosts
Run notepad as an administrator to modify it.

----- Reply message -----
From: "Rick Faircloth" <r...@whitestonemedia.com>
Date: Wed, Feb 23, 2011 19:52
Subject: I think I'm confused...
To: "cf-talk" <cf-talk@houseoffusion.com>


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:342541
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to