[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Virtual Hosts



Note the difference between <VirtualHost www.smallco.com>
and <VirtualHost 10.0.0.1>

The first is the setting for name based
virtual hosts, i.e. various virtual hosts 
sharing one IP (make sure you have one or
many "NameVirtualHost 10.0.0.1" as well)
 - in contrast to ip based virtual host 
where each virtual host has it's own IP.

Cheers, Marcel



Y2KNET <net@y2knet.net> 3 Apr 2001, at 9:43:

> I have used the same configuration:
> 
> <VirtualHost www.smallco.com>
>     ServerAdmin webmaster@mail.smallco.com
>     DocumentRoot /groups/smallco/www
>     ServerName www.smallco.com
>     ErrorLog /groups/smallco/logs/error_log
>     TransferLog /groups/smallco/logs/access_log
>     </VirtualHost>
> 
> But still it loads the primary site.
> 
> ----- Original Message -----
> From: Marcel Hicking <m.hicking@vianetworks.de>
> To: <debian-isp@lists.debian.org>
> Sent: Tuesday, April 03, 2001 8:44 AM
> Subject: Re: Virtual Hosts
> 
> 
> > http://httpd.apache.org/docs/vhosts/index.html
> > esp.
> > http://httpd.apache.org/docs/vhosts/ip-based.html
> >
> > basically use something like
> > <VirtualHost 10.0.0.1>
> >     ServerName www.abc.dom
> >     ServerAdmin webgirl@abc.dom
> >     DocumentRoot /www/abc
> > </VirtualHost>
> >
> > Cheers, Marcel
> >
> > Y2KNET <net@y2knet.net> 3 Apr 2001, at 8:37:
> >
> > > I have installed Debian 2.2r2 and now trying to put
> > > more IP based virtual hosts. I have used
> > > the VirtualHost directives, and gave the IP number
> > > to each site. But when I tried to look on the Virtual host
> > > site, it brings the primary site.
> > >
> > > I will appreciate, if I get information about how to setup
> > > VirtualHost on 2.2r2.
> > >
> > > Abu Umair.
> > >
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> >
> >
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 




Reply to: