Date: Fri, 9 Jun 2000 15:29:56 +0200 From: Marc Silver <marcs@draenor.org> To: Paisios Gatsos <paisios1@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Apache and virtual hosts Message-ID: <20000609152956.U81376@draenor.org> In-Reply-To: <20000609132614.41228.qmail@hotmail.com>; from paisios1@hotmail.com on Fri, Jun 09, 2000 at 04:26:14PM %2B0300 References: <20000609132614.41228.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I would suggest rather using something like 192.168.0.x for instance instead of 127.0.0.1 :) Basically your apache config file would have the following: BindAddress 192.168.0.x and your virtual hosts would look like: <VirtualHost 192.168.0.x> ServerAdmin you@yourdomain.com DocumentRoot /the/path/to/web ServerName www.yourdomain.com ErrorLog /yourlogdir/www.yourdomain.com-error_log CustomLog /yourlogdir/www.yourdomain.com-access_log common </VirtualHost> I would suggest you read the apache documentation carefully. There's a wealth of information there. Cheers, Marc On Fri, Jun 09, 2000 at 04:26:14PM +0300, Paisios Gatsos wrote: > Hello everybody. > > I need some help for Apache. I have installed version 1.3.6 of Apache Web > Server in my computer. My question is this: > Let's assume that i have a main host with ip number 127.0.0.1. > Can i have a virtual host with the same ip? > If yes, what directives the <VirtualHost> should contain? > > Thanks. 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?20000609152956.U81376>