Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 8276 invoked from network); 1 Oct 2003 02:10:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Oct 2003 02:10:07 -0000 Received: (qmail 92077 invoked by uid 500); 1 Oct 2003 02:09:37 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 91898 invoked by uid 500); 1 Oct 2003 02:09:36 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 91885 invoked from network); 1 Oct 2003 02:09:36 -0000 Received: from unknown (HELO mail.messagingengine.com) (66.111.4.25) by daedalus.apache.org with SMTP; 1 Oct 2003 02:09:36 -0000 Received: from mail.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 8BCE524A57C for ; Tue, 30 Sep 2003 22:09:43 -0400 (EDT) Received: from 10.202.2.150 ([10.202.2.150] helo=mail.messagingengine.com) by messagingengine.com with SMTP; Tue, 30 Sep 2003 22:09:43 -0400 X-Epoch: 1064974183 X-Sasl-enc: dV2OqpVa5CD9aclN5uq3/w Received: from RM505.mgmt.mcgill.ca (Toronto-HSE-ppp3743544.sympatico.ca [67.68.77.129]) by mail.messagingengine.com (Postfix) with ESMTP id 31FFB2479EB for ; Tue, 30 Sep 2003 22:09:43 -0400 (EDT) Date: Tue, 30 Sep 2003 22:09:26 -0400 (Eastern Daylight Time) From: Joshua Slive To: users@httpd.apache.org In-Reply-To: Message-ID: References: <1d3801c38727$a2cb90b0$652e50d5@profundis.se> <1064937433.21481.2.camel@fosters> <1ed301c38773$b44c3d70$652e50d5@profundis.se> <3F79BE53.2090303@zync.co.uk> X-X-Sender: slive@fastmail.fm@mail.messagingengine.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Multiple Names for site X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, 30 Sep 2003, Peter Fleck wrote: > This is the documentation I was referring to: > > http://httpd.apache.org/docs-2.0/mod/core.html#virtualhost > > > > 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: > > > > 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 addresses. 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: http://httpd.apache.org/docs-2.0/dns-caveats.html Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org