Website with fixed IP is redirected incorrectly
I have two IP addresses in my Linode and set one of them for a specific domain lets say a.com
However, using a.com address in the browser displays another website of mine lets say b.com.
Support commented that something might be wrong with Apache virtual hosts configuration. Can anyone advise how to fix, please?
Tthanks and regards
3 Replies
We'll need more information in order to help you. Please provide the domain names and the vhosts configs for each domain.
Make it as easy as possible for us to help you.
MSJ
NameVirtualHost 123.123.123.123
then proceed with your Virtual Host directives as normal, specifying the secondary IP address.
<virtualhost 123.123.123.123:80="">ServerName ...</virtualhost>