What is a Document Root Folder?

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.

Tip: You can click the document root name in cPanel to go to the correct folder in the File Manager.

Was this answer helpful?

 Print this Article

Also Read

How to import your MySQL database in cPanel?

Import your MySQL database in cPanel: How can I import a database? Go to phpMyAdmin Click...

How to change the password of your cPanel account?

Change the password of your cPanel account:There may be times where you would like to change the...

How Do I Create and Delete a Cron Job in cPanel?

Create and Delete a Cron Job in cPanel: Cron jobs run scheduled commands at specific times. The...

How to Connect to the MySQL Database in cPanel?

Connect to the MySQL Database in cPanel:In order for your MySQL database to work as intended, it...

How to Create URL Redirect in cPanel?

Create URL Redirect in cPanel:The Redirects tool in cPanel will allow you to redirect your...