Actually, it's NameVirtualHost that you want. The relevant lines in httpd.conf are like this:
NameVirtualHost 'ip address' <VirtualHost 'ip address'> ServerName 'domain.name.one' DocumentRoot /var/www/domain.one </VirtualHost> <VirtualHost 'ip address'> Servername 'domain.name.two' DocumentRoot /var/www/domain.two </VirtualHost> etc. Without any of the single quotes. I put them there to emphasise what you need to change. HTH On Tue, May 09, 2000 at 03:47:20PM +0100, Dominic Blythe wrote: > it's called VIRTUAL DOMAINS and the documentation that comes with apache > tells you about it, also the config file, httpd.conf, has some stuff about > it (i think). > > > -----Original Message----- > > From: Tom Warfield [mailto:[EMAIL PROTECTED] > > Sent: 09 May 2000 15:56 > > To: debian-user@lists.debian.org > > Subject: 1 IP address, 4 websites to host? > > > > > > Okay i have 1 IP address and want to run 4 different domains. > > Running apache...what is this called? and can it be done? If > > so, how do i > > do it? > > > > Thanks, > > > > Tom W. > > > > > > -- > > Unsubscribe? mail -s unsubscribe > > [EMAIL PROTECTED] < /dev/null > > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > -- "Beware he who would deny you access to information, for in his heart he dreams himself your master."
pgpBI83V6MGAm.pgp
Description: PGP signature