Diagnosing a Website That Is Serving Files From the Wrong Directory Print

  • document-root, domains, files, troubleshooting
  • 0

If edits do not appear or a domain shows another site’s content, verify the domain’s document root before changing application settings.

  1. Open cPanel → Domains and review the document root for the affected domain.
  2. Use File Manager to open that exact directory.
  3. Create or inspect a harmless identifying file and request it directly through the domain.
  4. If the domain was recently renamed or its document root changed, confirm the files were moved to the intended location.
  5. Check redirects that could be sending the browser to a different hostname.

DNS determines which server receives the request; the document root determines which directory that server uses for the domain.


Was this answer helpful?

« Back