Domain document root explained (and how to change it)

For hosting customers · Updated 2026-10-29

On this page
  1. Where to see it
  2. Default folders
  3. How to change the document root
  4. Common questions

The document root is the folder whose files a website shows. When someone opens https://blog.example.com/about.html, the server sends about.html from that domain's document root.

Where to see it

Open Domains in the control panel (https://your-server:2083, section Domains). The Document root column shows each domain's folder, for example ~/public_html/blog. ~ is your home folder.

Default folders

Domain typeDefault document root
Main domainpublic_html
Addon domain another-site.compublic_html/another-site.com
Subdomain blog.example.compublic_html/blog (or public_html/blog.example.com if public_html/blog is already used)
Alias (parked domain)public_html — always the main domain's folder

You can enter another folder when you add an addon domain or a subdomain. The path is relative to your home folder, for example sites/shop. It may contain letters, digits, ., _, - and /, but not ... The folder is created if it does not exist.

How to change the document root

The folder of an existing domain cannot be edited. To move a website to another folder:

  1. Copy the website's files to the new folder, for example with File Manager (section Files).
  2. On Domains, click Remove next to the domain. The files in its folder are kept.
  3. Add the domain again with the new Document root.
Important: removing a domain also removes its email accounts, forwarders, redirects and other settings for that domain. Read remove a domain first, and do this only for a domain without mailboxes you need, or make a backup before.

Common questions

Where do I upload the files of my main website?

Into public_html in your home folder.

Can two domains use the same folder?

Use an alias for the main domain's folder. For two names showing the same addon website, add a redirect from one to the other.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.