From owner-freebsd-questions Wed Jan 16 7:55:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cswgraphics.com (host-64-65-195-100.choiceone.net [64.65.195.100]) by hub.freebsd.org (Postfix) with ESMTP id C377937B405 for ; Wed, 16 Jan 2002 07:54:54 -0800 (PST) Received: from citystamp.com (wanid.cswgraphics.com [64.65.195.58]) by cswgraphics.com (8.9.1b+Sun/8.9.1) with ESMTP id KAA21966; Wed, 16 Jan 2002 10:52:28 -0500 (EST) Message-ID: <3C45A233.8661F8A5@citystamp.com> Date: Wed, 16 Jan 2002 10:54:26 -0500 From: "Matthew P. Marino" Reply-To: bind9@citystamp.com Organization: City Stamp Works Inc. X-Mailer: Mozilla 4.75C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC) X-Accept-Language: en,pdf MIME-Version: 1.0 To: "Gerald T. Freymann" Cc: freeBSD Questions Subject: Re: Apache Virtual Domains: Quick Config Question References: <3C45581E.9376.745C91@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Your on the right track. You'll need to read up on the exact syntax. You also need to make sure your "listen" directives are listening on both IP's and that your DNS, beit hosts or BIND or DJBDNS has entries for both IP's or Apache will complain. "Gerald T. Freymann" wrote: > > This is probably a stupid question but thought I should verify.. > > In apache, when it comes to Virtual Domains... > > Can you set up the httpd.conf file to mix ip-based domains and name- > based domains? > > I'm thinking sure, why not. > > I would like to set up a test box where IP a.b.c.d is one domain based > on the ip-based virtual domain scheme and another IP a.b.c.e is then > used to host a bunch of name-based domains. > > If I put this: > > NameVirtualHost a.b.c.e > in httpd.conf, then I can point domains to the IP # of a.b.c.e and use > that name-based domains... > > At the same time, if I put the IP# a.b.c.d in the tag, will > that separate the two? > > What I want is 1 ip for a specific domain > And then to use a second ip for a bunch of name-based domains. > > Make sense? > > gf > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message