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

Re: VirtualHosts



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/



Reply to: