VirtualHost Issue (Ubuntu 6.10)
John R Cichy
john at greengator.com
Mon Jan 8 18:17:17 UTC 2007
On Mon, 2007-01-08 at 08:52 -0800, David Koski wrote:
> On Monday 08 January 2007 08:39, John R Cichy wrote:
> > On Mon, 2007-01-08 at 08:12 -0800, David Koski wrote:
> > > On Monday 08 January 2007 06:23, Derek Broughton wrote:
> > > > > Try replacing *:80 with host_ip_address:80, this worked for me, but
> > > > > others might have a better solution.
> > > >
> > > > Yeah, that rather defeats the purpose of virtual hosts.
> > >
> > > It does not defeat the purpose of *name* *based* virtual hosts.
> > That's what I thought, but that statement made me take another look at
> > what I'm doing here. I have a multi-honed system with the web server
> > responding differently according to the name requested/ from which IP
> > used to make the request (i.e. www.my_site.com on 192.168.2.125 returns
> > production version, www.my_site.com on 192.168.1.125 returns development
> > version).
> You don't need both IP based and name based virtual hosts:
Your right, you don't have to do both, but I do because I have many
sites in the above setup (production=1st_IP/development=2nd_IP). This
makes for making sure your testing/production are in the same
More information about the ubuntu-users