{"id":2857,"date":"2020-03-03T14:26:47","date_gmt":"2020-03-03T14:26:47","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=ht_kb&#038;p=2857"},"modified":"2023-01-13T13:28:45","modified_gmt":"2023-01-13T13:28:45","slug":"document-root-cpanel","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/document-root-cpanel\/","title":{"rendered":"How to Find the Document Root of Your Website in cPanel"},"content":{"rendered":"<h3 id=\"what-is-the-document-root-folder\">What is the Document Root Folder?<\/h3>\n<div class=\"kb-article-container\">\n<p>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.<\/p>\n<p>After you create an addon domain or subdomain, you can find the document root inside cPanel by clicking on the <strong>Addon Domains<\/strong>\u00a0or\u00a0<strong>Subdomains<\/strong>\u00a0icon.<\/p>\n<p>First, we&#8217;ll demonstrate how to find the document root for your <strong>primary domain<\/strong>. And then, we&#8217;ll demonstrate how to find the document root for your addon domains and subdomains.<\/p>\n<p class=\"p1\">    \t\t<div class=\"hts-messages hts-messages--alert   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tThis tutorial assumes that you&#8217;re using the <a href=\"https:\/\/chemicloud.com\/kb\/article\/how-to-switch-your-cpanel-theme-to-jupiter\/\"><span class=\"s1\">Jupiter theme<\/span><\/a> for your cPanel account.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h3 id=\"how-to-find-your-primary-domains-document-root-in-cpanel\">How to find your primary domain&#8217;s document root in cPanel<\/h3>\n<\/div>\n<p>1) To begin, go ahead and <a href=\"https:\/\/chemicloud.com\/kb\/article\/how-to-login-cpanel\/\" target=\"_blank\" rel=\"noopener noreferrer\">log into your cPanel<\/a>.<\/p>\n<p>2) Okay, once you&#8217;ve logged into cPanel. Go to the <strong>File Manager<\/strong>.<\/p>\n<figure id=\"attachment_7700\" aria-describedby=\"caption-attachment-7700\" style=\"width: 643px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7700\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1-783x295.png\" alt=\"\" width=\"643\" height=\"242\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1-783x295.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1-300x113.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1-768x290.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1-50x19.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1-1536x580.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1-60x23.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1-100x38.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2018\/05\/cPanel-Files-File-Manager-1.png 1728w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><figcaption id=\"caption-attachment-7700\" class=\"wp-caption-text\">cPanel &gt; Files &gt; File Manager<\/figcaption><\/figure>\n<p>You&#8217;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&#8217;s always the <strong>public_html<\/strong> folder.<\/p>\n<p><b>Struggling with subpar support with no answers? ChemiCloud is the hosting solution designed to save you time! <\/b>\ud83e\udd13<b> Check out our <\/b><span style=\"text-decoration: underline;\"><a href=\"https:\/\/chemicloud.com\/pricing#60b65e4e63b58\" target=\"_blank\" rel=\"noopener\"><span class=\"s1\"><b>web hosting <\/b><\/span><\/a><\/span><b>plans!<\/b><\/p>\n<h3 id=\"how-to-find-the-document-root-for-your-addon-domains-in-cpanel\">How to find the document root for your addon domains in cPanel<\/h3>\n<p>1) To begin, go ahead and <a href=\"https:\/\/chemicloud.com\/kb\/article\/how-to-login-cpanel\/\" target=\"_blank\" rel=\"noopener noreferrer\">log into your cPanel<\/a>.<\/p>\n<p>2) After logging in, go to the <strong>Domains<\/strong>.<\/p>\n<figure id=\"attachment_7613\" aria-describedby=\"caption-attachment-7613\" style=\"width: 643px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-7613\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-783x193.png\" alt=\"cPanel &gt; Domains\" width=\"643\" height=\"158\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-783x193.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-300x74.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-768x189.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-50x12.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-1536x378.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-60x15.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-100x25.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1.png 1754w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><figcaption id=\"caption-attachment-7613\" class=\"wp-caption-text\">cPanel &gt; Domains<\/figcaption><\/figure>\n<p>3) Next, you will find a list with all your hosted Domains, and listed beside is the Document Root path for each domain.<\/p>\n<p>In the following example, the document root folder for the &#8220;mynewdomain.com&#8221; addon is in the account&#8217;s home directory under the &#8220;mynewdomain.com&#8221; folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-7708\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-783x258.png\" alt=\"\" width=\"643\" height=\"212\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-783x258.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-300x99.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-768x253.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-50x16.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-1536x506.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-2048x674.png 2048w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-60x20.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-100x33.png 100w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<h3 id=\"how-to-find-the-document-root-for-your-addon-domains-in-cpanel-2\">How to find the document root for your addon domains in cPanel<\/h3>\n<p>1) To begin, go ahead and <a href=\"https:\/\/chemicloud.com\/kb\/article\/how-to-login-cpanel\/\" target=\"_blank\" rel=\"noopener noreferrer\">log into your cPanel<\/a>.<\/p>\n<p>2) After logging in, go to the <strong>Domains<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"783\" height=\"193\" class=\"size-large wp-image-7613\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-783x193.png\" alt=\"&quot;cPanel\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-783x193.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-300x74.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-768x189.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-50x12.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-1536x378.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-60x15.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1-100x25.png 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/02\/cPanel-Domains-1.png 1754w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/p>\n<p>3) Next, you will find a list with all your hosted Domains, and listed beside is the Document Root path for each domain.<\/p>\n<p>In the following example, the document root folder for the &#8220;blesta.cchostingdemos.com&#8221; addon is in the account&#8217;s home directory under the &#8220;blesta.cchostingdemos.com&#8221; folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-7709\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-783x258.png\" alt=\"\" width=\"643\" height=\"212\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-783x258.png 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-300x99.png 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-768x253.png 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-50x16.png 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-1536x506.png 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-2048x674.png 2048w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-60x20.png 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/03\/Document-root-subdomains-100x33.png 100w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>That&#8217;s it! Now you know how to find the document root for your primary domain, addon domains, and subdomains.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[190],"ht-kb-tag":[],"class_list":["post-2857","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-domains"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=2857"}],"version-history":[{"count":5,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2857\/revisions"}],"predecessor-version":[{"id":7710,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/2857\/revisions\/7710"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=2857"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=2857"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=2857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}