Re: Apache Info


Subject: Re: Apache Info
From: nathan r. hruby (nhruby@arches.uga.edu)
Date: Tue Feb 05 2002 - 15:56:47 MST


On Tue, 5 Feb 2002, Iain Stevenson wrote:

>
> Maybe the 192.168.2.3 is taking precedence over the names - try this:
>
> <VirtualHost name1.siteone.com >
> ServerName name1.siteone.com
> DocumentRoot /usr/local/apache/siteone
> </VirtualHost>
>
> <VirtualHost name2.sitetwo.com >
> ServerName name2.sitetwo.com
> DocumentRoot /usr/local/apache/sitetwo
> </VirtualHost>
>
> name1.siteone.com and name2.sitetwo.com have to be resolvable by DNS to
> 192.168.2.3
>

No, you should use IP's in <VirtualHost> Directives as they're faster (no
reverse lookup). And yes, name1.siteone.com and name2.sitetwo.com need to
be resolvable by DNS for all this to work. Seeing as you're using
the private 192.168 address space I betcha that even if the names are
resolvong, they wouldn't resolve to your machine unless you'r erunning a
nameserver on your side of the gateway.

-n

-- 
......
nathan hruby - nhruby@arches.uga.edu
computer support specialist
department of drama and theatre
http://www.drama.uga.edu/
......



This archive was generated by hypermail 2a24 : Tue Feb 05 2002 - 16:13:57 MST