I set up a subdomain test.example.com and got it running, but now when I go to example.com, it points to test.example.com's directory. In other words, instead of going to /var/www/html it points to /var/www/test
I haven't altered httpd.conf other than adding this at the very bottom for the subdomain:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.test.example.com
ServerAlias test.example.com
DocumentRoot "/var/www/test/"
</VirtualHost>
How can I fix httpd.conf so the normal domain points to /var/www/html and the subdomain continues to point to /var/www/test ?
Thanks!
