From owner-freebsd-questions Thu Feb 22 09:51:11 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA03952 for questions-outgoing; Thu, 22 Feb 1996 09:51:11 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA03947 for ; Thu, 22 Feb 1996 09:51:08 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id KAA21232; Thu, 22 Feb 1996 10:46:29 -0700 From: Terry Lambert Message-Id: <199602221746.KAA21232@phaeton.artisoft.com> Subject: Re: apache To: tim@fifth-avenue.com (tim kelley) Date: Thu, 22 Feb 1996 10:46:29 -0700 (MST) Cc: questions@FreeBSD.org In-Reply-To: from "tim kelley" at Mar 19, 95 07:44:32 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org Precedence: bulk > Ok, one more time.... > I've got 2 legit domain names ..fifth-avenue.com & nysource.com. > > I want to serve www documents from both. As it is, I have configured > apache to have 2 virtual hosts. I set bindaddress to *, gave the Virtual > host definition for both and I get the same directory when I http to either. > > Anybody understand what is going on??? You are using two legitimate IP addresses for the one interface on the machine using "ifconfig ... alias"? You are name-serving the IP addresses as the different machine names so that when apache does a library call on the socket to lookup the host name it gets the right name? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.