Wrong Website Showing for Your Domain on Shared Hosting (Addon Domain Mix-Up)
If one domain shows another site, the document root mapping or default site is wrong.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Check
- In the hosting panel, see each domain's document root. Each domain should point to its own folder.
- A new domain pointed by DNS but not added to the hosting account will show the server's default or another site.
- Subdomain folders nested inside another site's folder can cause overlap.
- Redirects in
.htaccessin a parent folder affect subfolders. - Clear caches and test in a private window.
Fix
Add the domain correctly, set its own folder, and confirm with a small test file named test.html. Remove the test file afterwards. See Domain Shows a Parked Page or Your Host's Default Page Instead of Your Website.
Related guides
- What Is an SSL Certificate Authority and Chain of Trust
- What Is a Domain Registrar vs Web Host vs DNS Host
- What Does 'Not Secure' Mean in the Browser?
- Too Many Redirects With Cloudflare: Flexible SSL Loop Fix
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.