Date: Tue, 12 Mar 2002 16:40:52 -0500 From: ScaryG <freymann@scaryg.shacknet.nu> To: Server Admin <admin@sage-one.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Mar 2002 15:30:33 -0600 Server Admin <admin@sage-one.net> 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 <VirtualHost *> entry is my default domain. The rest just follow... <Virtualhost *> Servername me.mydomain.com ServerAlias mydomain.com DocumentRoot /web/mydomain etc </VirtualHost> Does that help? gf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020312164052.18282017.freymann>