From owner-freebsd-questions Tue Mar 12 13:39:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tomts23-srv.bellnexxia.net (tomts23.bellnexxia.net [209.226.175.185]) by hub.freebsd.org (Postfix) with ESMTP id C471237B419 for ; Tue, 12 Mar 2002 13:39:41 -0800 (PST) Received: from scaryg.shacknet.nu ([64.231.142.145]) by tomts23-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020312213935.EMFV2112.tomts23-srv.bellnexxia.net@scaryg.shacknet.nu>; Tue, 12 Mar 2002 16:39:35 -0500 Received: from localhost ([::1] helo=scaryg.shacknet.nu) by scaryg.shacknet.nu with smtp (Exim 3.34 #1) id 16ku0t-000IkX-00; Tue, 12 Mar 2002 16:40:55 -0500 Date: Tue, 12 Mar 2002 16:40:52 -0500 From: ScaryG To: Server Admin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setting up Vhosting on Dynamic IP Message-Id: <20020312164052.18282017.freymann@scaryg.shacknet.nu> In-Reply-To: <3.0.5.32.20020312153033.01155d18@mail.sage-one.net> References: <3.0.5.32.20020312145637.01155d18@mail.sage-one.net> <3.0.5.32.20020312145637.01155d18@mail.sage-one.net> <3.0.5.32.20020312153033.01155d18@mail.sage-one.net> X-Mailer: Sylpheed version 0.7.2 (GTK+ 1.2.10; i386-portbld-freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean 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 On Tue, 12 Mar 2002 15:30:33 -0600 Server Admin wrote: > The dynamic IP updates is taken care of nicely by DNS service > ZoneEdit... > > My biggest question is the interface setup for the vhosts' aliases.... Ok. Well, if you're goin name-based virtual hosting, you don't need to any aliases to your network card, just configure apache correctly, update your dns records, and voila. On my playtoy running at home on the same setup you are talking about, in my apache httpd.conf file I have: The Listen option is NOT use BindAddress * Port 80 NameVirtualHost * and the first entry is my default domain. The rest just follow... Servername me.mydomain.com ServerAlias mydomain.com DocumentRoot /web/mydomain etc Does that help? gf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message