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

RE: Virtual Hosts



Dont you still have to add DNS entries?

-----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.
> >
>
>
>
> --
> 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: