From owner-freebsd-isp Thu Oct 5 10:22:21 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.thebiz.net (mx1.thebiz.net [216.238.0.20]) by hub.freebsd.org (Postfix) with SMTP id CFA4037B66C for ; Thu, 5 Oct 2000 10:22:17 -0700 (PDT) Received: (qmail 29086 invoked from network); 5 Oct 2000 13:22:15 -0400 Received: from mail2.backend.thebiz.net (HELO mail2.thebiz.net) (172.16.0.129) by mx1.backend.thebiz.net with SMTP; 5 Oct 2000 13:22:15 -0400 Received: (qmail 30481 invoked by uid 0); 5 Oct 2000 13:22:15 -0400 Received: from unknown (HELO shell1.thebiz.net) (216.238.35.75) by mail.thebiz.net with SMTP; 5 Oct 2000 13:22:15 -0400 Date: Thu, 5 Oct 2000 13:22:16 -0400 (EDT) From: X-Sender: tom@shell1.thebiz.net To: James Housley Cc: Nate Johnston , freebsd-isp@FreeBSD.ORG Subject: Re: Apache vhosts question In-Reply-To: <39DCB05F.8B6AC2F@thehousleys.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've seen the same problem and it was becuase the names were CNAMEd and not IN A records in DNS. I currently have namedbased virtualhost set up as follows: NameVirtualHost 216.238.39.126 ServerName www.blah.com DocumentRoot /home/www/www.blah.com ServerName www.there.com DocumentRoot /home/www/www/there.com Each one of these have an A record pointing to 216.238.39.126 On Thu, 5 Oct 2000, James Housley wrote: > Nate Johnston wrote: > > > > I am trying to set up name-based virtual hosts on apache 1.3.12. No matter how many > > hosts I enter, apache only displays the first one in the configuration file. For > > example: > > > > NameVirtualHost 216.141.207.119 > > > > > > > > ServerName coyote.broadwing.com > > DocumentRoot /home/www/coyote.broadwing.com > > > > > > > > > > ServerName codesnake.com > > DocumentRoot /home/www/codesnake.com > > > > > > That should fix your problem > > Jim > -- > "It's a damn poor mind that can only think of one way to > spell a word." > -- -Andrew Jackson > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message