Twice in this past year or so, I have encountered a domain name behavior that I haven't seen since I started working with websites in 1997. The behavior is that the domain is going to another site that is totally irrelevant to the site owner. In both cases, the setup was done by someone else, and I've inherited the problem. Also, this time, I have documented most of the steps I've taken.
- It's not a browser redirect compromise because I asked the site owner to load the site from their location, and they got the same results that I did.
- The domain is registered with GoDaddy.
- ICANN lookup shows the domain pointed to InMotionHosting's DNS, as it should be.
- It seems that the domain was not added into CPanel at the time that it was pointed at the host.
- How does it happen that the host had the domain pointed at another site?
After considerable thought, the closest answer I can come to is that this problem has to do with the switch from http to https. Possibly, when the site was moved to https, the .com address was not also moved, only the .org address. "The wrong site" took the former server space, so the .com, while directed to the former server space, was not directed to the same site.
This would explain why the redirects that existed in the .htaccess file were not working.
The host's tech support indicated that the .com address was pointed at a different server, but they could not ... or would not explain why. And, they seemed to have quite a challenge to direct it to the correct server and server space.