How to Check an Add-On Domain’s Document Root in Plesk
A Plesk subscription can contain several websites. An add-on domain can serve files from a different document root than the subscription’s first website. Seeing the name httpdocs in File Manager does not establish which directory the selected public hostname uses.
Follow the selected website
- Open Websites & Domains and find the exact hostname. Check the subscription context first if you manage more than one. Open Hosting Settings or the equivalent hosting link for that domain.
- Record the Document root value without saving any change. In File Manager, resolve it relative to the subscription home and compare the files with the intended release. A framework can require its public directory, for example app/public, as the root.
- Open a known public page on the exact hostname. If the content differs, compare the website logs and DNS before moving files. Your browser may still reach another server.
Keep database exports, environment files and source archives outside the public root. Before an approved root change, save the old value and verify the new location in a test deployment. A redirect-only or DNS-only domain may have no normal document root.
Related guides
- How to Upload Website Files with Plesk File Manager
- How to Create a Subdomain with a Separate Plesk Document Root
- How to Find the Correct Website Logs in Plesk
- Plesk category
Official references
Ferkesh Hosting. Last reviewed .
这对您有帮助吗?
感谢您的反馈!