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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I add an Apache handler?

1. Click on the “Apache handlers” link in Cpanel. (under the 'site management header.)2. Enter...

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 do I create custom error pages?

Error pages are served to Internet users when any one of a variety of errors occur, such as when...

How do I login to Cpanel?

You can login to Cpanel with the url that is in your Welcome email:...

How do I password protect a directory?

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