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

Re: VirtualHosts



<quote who="Y2KNET">

> Listen 192.55.34.5:80
> NameVirtualHost  192.55.34.5:80
> 
> <VirtualHost 192.241.171.5:80>
> DocumentRoot /var/www/xyz
> ServerName www.xyz.net
> </VirtualHost>

NameVirtualHost means that you're defining the virtual hosts by name. Change
the VirtualHost line to read:

<VirtualHost xyz.net>

And make sure you use:

ServerName xyz.net
ServerAlias www.xyz.net

Otherwise people like me get very cranky. :)

- Jeff


-- jdub@aphid.net ----------------------------- http://lazarus.aphid.net/ --

    For a list of points detailing how technology has failed to improve     
                         our lives, please press 3.                         



Reply to: