1. Home
  2. Hosting Management
  3. cPanel
  4. Domains
  5. How to Find the Document Root of Your Website in cPanel

How to Find the Document Root of Your Website in cPanel

What is the Document Root Folder?

The document root is where the website files for a domain name are stored. As you can host multiple domain names in cPanel (addon domains and subdomains), you need to have an individual folder for each domain.

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.

First, we’ll demonstrate how to find the document root for your primary domain. And then, we’ll demonstrate how to find the document root for your addon domains and subdomains.

This tutorial assumes that you’re using the Jupiter theme for your cPanel account.

How to find your primary domain’s document root in cPanel

1) To begin, go ahead and log into your cPanel.

2) Okay, once you’ve logged into cPanel. Go to the File Manager.

cPanel > Files > File Manager

You’ll see the contents of that folder show up on the right side of the screen. This is the document root for your primary domain; it’s always the public_html folder.

Struggling with subpar support with no answers? ChemiCloud is the hosting solution designed to save you time! 🤓 Check out our web hosting plans!

How to find the document root for your addon domains in cPanel

1) To begin, go ahead and log into your cPanel.

2) After logging in, go to the Domains.

cPanel > Domains
cPanel > Domains

3) Next, you will find a list with all your hosted Domains, and listed beside is the Document Root path for each domain.

In the following example, the document root folder for the “mynewdomain.com” addon is in the account’s home directory under the “mynewdomain.com” folder.

How to find the document root for your addon domains in cPanel

1) To begin, go ahead and log into your cPanel.

2) After logging in, go to the Domains.

"cPanel

3) Next, you will find a list with all your hosted Domains, and listed beside is the Document Root path for each domain.

In the following example, the document root folder for the “blesta.cchostingdemos.com” addon is in the account’s home directory under the “blesta.cchostingdemos.com” folder.

That’s it! Now you know how to find the document root for your primary domain, addon domains, and subdomains.

Updated on January 13, 2023
Was this article helpful?

Related Articles

TRY CHEMICLOUD RISK-FREE
Fast, secure cloud hosting. 18 global data centers. Unhappy with your web host?
👉 Migrate for Free

Comments

Leave a Comment