Apache's NameVirtualHost has been configured in httpd.conf as such:
However, the sites are still defaulting to the first virtual host, despite the VH configs looking correct. They are all following the following template (where 'site1' is the name of the site):
<VirtualHost *:80> ServerName site1.domain.com DocumentRoot /var/www/site1/public <Location /> AuthName "Login Required" AuthType Basic AuthUserFile /var/www/site1/private/htpasswd Require valid-user </Location> </VirtualHost>
Conf checks show no syntax errors and restarting Apache doesn't generate any errors. Quite frankly, I'm a bit stumped. The config setup is the same as other servers, yet only this one has this issue.
Is there anything else I can check?