[KLUG Members] Apache virtual hosts

John Bridleman members@kalamazoolinux.org
Wed, 8 Jan 2003 23:58:05 -0500


* Bill Katsma (bkatsma@attbi.com) wrote:
> I am having a problem with getting my virtual host to work.
> 
> I have tried three configurations resulting in two different results.
> 
> So the differences are
> <VirtualHost virt1.katsma.com>  <--- This one makes the most since to me
> <VirtualHost 192.168.1.139>
> <VirtualHost *>
> 
For hosting sites on the big bad web I set the VirtualHost definition to the public ip of the machine. 

For local hosting (ie. I want to set up some domain on my local box for testing) I set the VirtualHost definition to 127.0.0.1
--
John Bridleman / www.bridleman.org