Having a strange issue configuring apache.
I've got 4 domains
- www.mydomain.tld
www.my-domain.tld
www.anotherdomain.tld
- www.another-domain.tld
I've configured named virtualhost for each of the domains.
mydomain.tld, my-domain.tld and anotherdomain.tld works correctly but another-domain.tld isn't working correctly.
Apache seems to be picking up the virtualhost for anotherdomain.tld and serving it rather than the another-domain.tld
both have the server name set correctly
- ServerName anotherdomain.tld
and
- ServerName another-domain.tld
which seems to be the only place this could be an issue. Does anyone have any suggestion on finding the cause of this error.
A couple of other notes: each virtualhost is in a different file. mydomain.tld and my-domain.tld on a different ip address to anotherdomain.tld and another-domain.tld.