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

Re: VirtualHosts



Yes! I made a typing mistake, instead of writing 192.55.34.5,
I wrote the other address.

I tried the following for www.xyz.net:

Listen  192.55.34.5:80
NameVirtualHost 192.55.34.5:80
<VirtualHost www.xyz.net>
DocumentRoot /var/www/xyz
SeverName xyz.net
ServerAlais www.xyz.net
    ...
</VirtualHost>

But when I used Listen, then it did not
biring anything even my primary site www.abc.com.
If I turned of Listen then my primary site www.abc.com
comes up.

Looks I am wandering somewhere near the solution.

In oldewr version I was using ifconfig in the network
file in /etc/init.d on virtual ports like eth0:0, but
in this version they are using iface, which I do not have
much clue of it.

Thanks.

Abu Umair


"Jeremy C. Reed" wrote:

> On Tue, 3 Apr 2001, Y2KNET wrote:
>
> > First one is primary which is, say abc.net
> > the second one is VirtualHost  xyz.net.
>
> > ns1        IN    A        192.55.34.3
>
> > www.abc.net.    IN    CNAME    ns1.abc.net.
>
> > xyz.net    IN A        192.55.34.5
> >                   ......
> > www.xyz.net.  IN CNAME    xyz.net.
>
> Please consider using real host names. This is getting very confusing.
>
> > following configuration for virtual host site www.xyz.net:
> >
> > Listen 192.55.34.5:80
>
> You do not need the "Listen" directive when you are using the
> VirtualHost.
>
> > NameVirtualHost  192.55.34.5:80
> >
> > <VirtualHost 192.241.171.5:80>
>
> Is this the correct IP? Try using the correct IP.
>
> The Apache documentation covers this.
>
> > DocumentRoot /var/www/xyz
> > ServerName www.xyz.net
>
> Your examples above are different (www.xyx.net is not 192.241.171.5.)
>
>   Jeremy C. Reed
> .......................................................
>      ISP-FAQ.com -- find answers to your questions
>      http://www.isp-faq.com/
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: