I have included a copy of my virtual host file for apache below. (However I have hidden the ip address and domain name for now)
My problem is that the following work:
www.mydomainnamehere.org
www.mydomainnamehere.com
mydomainnamehere.com
This one doesn't work:
mydomainnamehere.org - instead of going to the document root listed below, it goes to the document root of the default site.
What could be causing this?
<VirtualHost [ipaddresshidden]:80>
ServerAdmin
[email protected]
ServerName mydomainnamehere.org
ServerAlias www.mydomainnamehere.org
ServerAlias mydomainnamehere.com
ServerAlias www.mydomainnamehere.com
DocumentRoot /home/www/mydomainnamehere.org/html/
ErrorLog /home/www/mydomainnamehere.org/logs/error.log
CustomLog /home/www/mydomainnamehere.org/logs/access.log combined
</VirtualHost>