What is Document root folder?

The document root is the folder where the website files for a domain name are stored. Since cPanel allows for multiple domain names (addon domains and subdomains), you need to have a unique folder for each domain.

Your primary domain is rooted in the public_html folder. Your addon and subdomain names will be rooted to their own folders inside public_html. After you create an addon domain or subdomain, you can find the document root inside cPanel by clicking on the Addon Domains or Subdomains icon.

Was this answer helpful?

 Print this Article

Also Read

How do I password protect a directory?

You can password protect directories within your site from unauthorized users by using 'Web...

How to create blacklists?

You may use Apache SpamAssassin to create a "blacklist" to block unwanted email.  To create...

How do I login to Cpanel?

You can login to Cpanel with the url that is in your Welcome email:   or, if your domain has...

How do I change my account password in Cpanel?

1. Click on 'Change Password' under the 'Site Management' header in Cpanel. 2. Enter your...

How to upload file using File manager?

You can upload your files directly through cPanel using the File Manager. File Manager is a web...