Domain Document Root & How to change it

The Document Root folder is the directory that contain your website files and folders. Since we provide packages that can host multiple domain names and subdomains, they will need to have a unique folder for each website.


The primary domain document root folder is the public_html folder. Any additional domains and subdomains will have their own root folder inside of the public_html directory, unless specified otherwise when creating a new domain. You are able to see the document root for your sites in the cPanel by clicking on the Domains icon.



How to change the document root for a domain 

To change the document root of any domain other than the primary you would need to first to into the Domains page of the cPanel. The page will display all of the domains & subdomains that where added to the cPanel. 

Screenshot 2023-07-25 at 3.02.10 PM.png

To change the document of the domain you will need to click on "Manage' button that is located to the far right of the domain. The page that loads will provide you the option to update the document root. 

Screenshot 2023-07-25 at 3.13.10 PM.png

Was this article helpful?
0 out of 1 found this helpful