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.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

About Reseller WHM

We provide all resellers with a limited WHM. These limits help us control what actions the...

Learn cPanel

These are great resources we hope will help: Video Tutorials by cPanel Official cPanel User Manual

I want to set the folder for my addon domain to something outside of public_html.

cPanel will allow you to specify a path outside of public_html. If you do not see this option,...

Please read before creating a subdomain.

When you create a subdomain in cPanel, you will be asked to choose the name of the subdomain,...

Please read before creating an Addon Domain.

About addon domains Addon Domains are handled like subdomains as far as the server is concerned,...