[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Viewing a virtual site before domain is resolving correct



On Fri, 8 Jun 2001, Peter Dickson wrote:

> 
> Can anyone tell me whether it's possible to view a virtual site on a Cobalt
> RaQ4i before changes to DNS have propogated? DNS services are provided by
> our ISP, not on our Cobalt. 

One easy way, if you're running windows is to add the following to your
\windows\hosts file

IPNUMBER_USED_ON_YOUR_SERVER	www.the_new_site.com

Now, you can view the site at the url
http://www.the_new_site.com (which is on your server)
You can also view the site that hasn't moved to your server by
viewing
http://the_new_site.com (which isn't on your server)

An added benefit is that if your customer uses Front Page, by
adding the line above to their \windows\hosts, they will be able to
publish using Front Page.

The suggestion made to change the httpd.conf works also, but some
cgi-scripts "appear" to be broken until the DNS propogates.

Thom

baltimoremd@xxxxxxxxxxxxxxx             Thom LaCosta K3HRN Webmaster  
http://www.baltimoremd.com/             Baltimore's Home Page 
http://www.baltimorehon.com/            Home of the Baltimore Lexicon
http://www.zerobeat.net                 Home of The QRP Web Ring
                                        and Drake Mail List Pages