[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache Virtual Host

On Thu, Feb 08, 2001 at 10:12:12PM -0500, Chris Matta wrote:
> make sure you have this in httpd.conf:
> NameVirtualHost (make sure you have your ip in here!!)
> <VirtualHost (same here!)>
> ServerName www.yourdomain.com

I've seen a couple people say to use an IP address in the <VirtualHost ...>
directive, but my httpd.conf has domain names there and it works fine.  Is
there any particular advantage to using an IP address (e.g., does it save a
DNS lookup?) there or is that just the way a commonly-referenced example does

SGI products are used to create the 'Bugs' that entertain us in theatres
and at home. - SGI job posting
Geek Code 3.1:  GCS d? s+: a- C++ UL++$ P++>+++ L+++>++++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r y+

Reply to: