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

What is Subdomain, Add-on domain & Parked domain?

A subdomain is a second website, with its own unique content, but there is no new domain name....

How to set up rules and redirects in .htaccess?

.htaccess is a directory-level configuration file supported by the Apache web server. It is used...

How to upload file using File manager?

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

How to create a site/domain redirect in cPanel?

You can create the redirect for your domain in your cPanel. In order to do it, perform the...

How to change c Panel style?

If you are looking for a new user-experience and ready for changes, follow these steps to change...