Monday, January 18, 2016

www and non-www domain pointing to different IPs despite DNS being correct? How to redirect www?

I'm having an issue where our non-www domain is currently pointing to the correct IP, but our www is pointing to a random IP address that belongs to our host. So when we visit the www domain, it does to the login screen for Hostmonster instead of our website. I want the www to redirect to the non-www.



First we pointed the A record for the www to the same IP as our non-www domain. I waited over 12 hours and it wouldn't propagate so I contacted CS and they repushed it. Still, nothing happened.



So this time around they tried to put it in as a CNAME instead. So now the www is pointed to our non-www domain as a CNAME. Apparently the representative also added a redirect code to our htaccess (but not 100% sure on this). It's been hours and it doesn't look to have propagated either.




We've been struggling with this issue for days. Our host has been not much help so far. They are just as confused as we are. First they said it might be an issue with their server migration, then they tried changing the DNS as described above to no avail.



Normally this would be an easy process, but I'm quite frustrated at this point because visitors are thinking our website doesn't work when it's only the www that doesn't work.



I also tried private browsing, cleared my browser cache, and tried multiple devices.



Any hints on what could be the issue? Thank you.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...