Connecting to my site domain.com
redirects me to 1 of the 4 virtual hosts I've configured in the conf.d
directory. Every conf file has identical syntax, replacing {test}.domain.com
with test1
, test2
, test3
etc.
The only values changed in the main conf/httpd.conf
file were the ServerAdmin
parameter, and ServerName
parameter, of which are username@myemailservice.com
and domain.com
respectively.
The VirtualHost
domain.com
query redirects to is the highest alphanumerically ordered conf file in the conf.d
directory if that helps.
<VirtualHost *:80> ServerName test.domain.com ServerAdmin root@localhost DocumentRoot /var/www/test/public_html<Directory /var/www/test/public_html> Options -Indexes +FollowSymLinks AllowOverride All DirectoryIndex index.php</Directory> ErrorLog /var/log/httpd/test.domain.com-error.log CustomLog /var/log/httpd/test.domain.com-access.log combined</VirtualHost>