I'm using Webmin on CentOS, trying to setup another domain on virtual host on this new hosting provider.
I already got the first domain in and working.
This is the bottom of the apache config.
The problem is if I type domaintwo.com it only shows the content of domainone.com, I can't seem to get it to stick to its own document root.
I already got the first domain in and working.
This is the bottom of the apache config.
Code:
<VirtualHost _default_:80>
DocumentRoot /var/www/html/domainone.com
ServerName domainone.com
ServerAlias www.domainone.com
UseCanonicalName off
</VirtualHost>
<VirtualHost _default_:80>
DocumentRoot /var/www/html/domaintwo.com
ServerName domaintwo.com
ServerAlias www.domaintwo.com
UseCanonicalName off
</VirtualHost>
The problem is if I type domaintwo.com it only shows the content of domainone.com, I can't seem to get it to stick to its own document root.