Apache2 ignores ServerAlias
- by Galen
the www versions of all my sites work. the non-www version don't work. All non-www versions go to my default vhost (galengrover.com)
Here are the first 2 virtual hosts in httpd.conf.
ServerName galengrover.com
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/sites/galengrover.com/html
ServerName www.galengrover.com
ServerAlias galengrover.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/sites/skatevideosonline.net/html
ServerName www.skatevideosonline.net
ServerAlias skatevideosonline.com
</VirtualHost>
Im clueless. Thanks