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

What is the Difference between Parked, Addon and Subdomains?

Difference between Parked, Addon and Subdomains: Subdomain: A subdomain is a second website...

Accessing Web Disk and WebDav in cPanel

Accessing Web Disk and WebDav in cPanel: Web Disk (also known as WebDAV) is a drag-and-drop...

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 Do I Create a MySQL Database, a User, and Then Delete if Needed in cPanel?

Create a MySQL Database, a User, and Then Delete if Needed in cPane: Databases offer a method...

How Can I Change My Control Panel Username?

A username is a vital piece of your hosting account. Despite the name, whether or not it can be...