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

RE: Virtual Hosts



Erich Kolb <ekolb@randbreceivables.com> 3 Apr 2001, at 11:10:
> Dont you still have to add DNS entries?

Well, sure...
Without a DNS entry no request would reach your server.

Cheers, Marcel

> -----Original Message-----
> From: Y2KNET [mailto:net@y2knet.net]
> Sent: Tuesday, April 03, 2001 9:43 AM
> To: m.hicking@via-net-works.de; debian-isp@lists.debian.org
> Subject: Re: Virtual Hosts
> 
> 
> 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.



Reply to: