[wplug] testing Apache virtual-host setup without DNS

joseph s. gordon iv jgordon at gagesite.com
Tue Dec 14 20:46:01 EST 2004


Thanks a lot Ron, and happy holidays.  Joe

Brian Sammon wrote:

>>Let's say the old webserver is 1.2.3.4 and the new is 5.6.7.8 .
>>www.briansammon.org currently points at 1.2.3.4 and apache on 1.2.3.4 has a 
>>"VirtualHost" section for www.briansammon.org.
>>Now, I have apache on 5.6.7.8 and I have a "VirtualHost" entry on it for 
>>www.briansammon.org .
>>Is there a way I can test the VirtualHost stuff on 5.6.7.8 by giving a magic 
>>URL to my browser?
>>http://www.briansammon.org/ won't hit 5.6.7.8, but is there something like 
>>  http://www.briansammon.org@5.6.7.8/ that will?
>>Is this the sort of thing that I can only do in certain browsers?
>>    
>>
>
>Duh! I'd forgotten a simple workaround I'd used before:
>edit /etc/hosts to have www.briansammon.org point to 5.6.7.8
>
>_______________________________________________
>wplug mailing list
>wplug at wplug.org
>http://www.wplug.org/mailman/listinfo/wplug
>
>  
>


More information about the wplug mailing list