What is a Document Root folder?

The document root is the folder where you keep website files for a domain name. Since cPanel allows for multiple domain names (Addon domains), then 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.

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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can I password protect directories?

To password protect directory: Note: At this time, cPanel can only protect directories, not...

phpMyAdmin

phpMyAdmin is a tool written in PHP to handle the administration of MySQL over the web. Databases...

Copy Entire Database or Rename Database

Is there a way for me to copy an entire database in cPanel? Go to cPanel > MySQL Databases...

How to import your MySQL database

How can I import a database? Go to phpMyAdmin Click the new database name in the top left...

Creating a URL redirect

WARNING Never create a redirect for domain.com to www.domain.com or from domain.com to...