httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Multiple Names for site
Date Wed, 01 Oct 2003 02:09:26 GMT

On Tue, 30 Sep 2003, Peter Fleck wrote:
> This is the documentation I was referring to:
> <VirtualHost addr [: port ] [ addr [: port ]]     ...>
> where 'addr' can be "A fully qualified domain name for the IP address
> of the  virtual host;
> Looks to me like that's what I did:
> <VirtualHost>
> And it seems to be working for both domains.
> Is one method better than the other?

Yes.  As the docs in the "see also" section of the VirtualHost directive
docs say, you should be using the IP address or "*" to match all IP

If you put in a hostname, apache simply looks up the ip address
corresponding to that hostname and uses that.  This leads to unnecessary
DNS dependencies.  See:


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message