Re: Apache Info


Subject: Re: Apache Info
From: Iain Stevenson (iain@iainstevenson.com)
Date: Tue Feb 05 2002 - 16:04:09 MST


Maybe that's the problem Paul is having 'cos I am running a full nameserver
- I don't really need it but lots of programs seem to run faster/better
with it ;-)

  Iain

--On Tuesday, February 5, 2002 5:56 pm -0500 "nathan r. hruby"
<nhruby@arches.uga.edu> wrote:

> 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:31:13 MST