Go to the configuration in IIS for the default website and remove any 
identies that have blank host header names.  This way, no web site will be 
displayed by IIS for a bare IP address or for host names that you've 
pointed at the IP address without having yet set up a virtual web site. 
You'll get something like a "No web site is configured at this address" 
message returned in your browser.

Also consider creating the virtual web site as soon as you do the DNS, 
then put up a blank index page or an under construction page.  If you have 
both development and production servers and this is a brand new site, then 
do this on the production server.  That way you don't have to migrate from 
the dev server IP to the new IP in the future.


----- Original Message ----- 
From: "Rick Faircloth" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Monday, February 28, 2005 2:54 PM
Subject: RE: How to set virtual sites for localhost viewing?


> One thing I noticed about the DNS handling is that
> without a host header to handle www.ShellmanBluffOutfitters.com,
> it defaults to my default website, which is just a placeholder for an 
> old
> site.
>
> I went into the DNS and took out the www A Record and when that didn't
> cause www.ShellmanBluffOutfitters.com to display a "can't be found" 
> error,
> I went into the CName's and took out the www there, too.  It may be too
> early, time-wise, for the changes to have taken effect, but what I want 
> is
> for a site to show a "can't be found" error until I have the site ready 
> to
> go live.
>
> I don't want it to go to my default site; that could confuse someone who
> might be trying to see the SBO site.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196881
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to