{"id":216,"date":"2017-12-06T00:22:22","date_gmt":"2017-12-06T00:22:22","guid":{"rendered":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/?p=216"},"modified":"2022-04-22T14:56:41","modified_gmt":"2022-04-22T14:56:41","slug":"what-is-my-websites-root-directory","status":"publish","type":"post","link":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/what-is-my-websites-root-directory\/","title":{"rendered":"What is my website&#8217;s root directory?"},"content":{"rendered":"<p>The root directory of your website is the content that loads when visitors access your domain name in a Web browser. The most obvious consequence of this is that you need to put your &#8220;index file&#8221; in your website&#8217;s root directory for visitors to see your site at all (<a href=\"https:\/\/www.secureserver.net\/help\/article\/16025?prog_id=ifindhost\">more info<\/a>).<\/p>\n<p>Website-related applications might also need to know your website&#8217;s root directory.<\/p>\n<p>Your website&#8217;s root directory depends on whether the domain name is your primary domain name or another type (<a href=\"https:\/\/www.secureserver.net\/help\/article\/4688?prog_id=ifindhost\">more info<\/a>).<\/p>\n<p><strong>Your primary <a href=\"https:\/\/www.cheapdomainregistration.com\/\">domain name<\/a><\/strong>&#8216;s root directory is&nbsp;<code>\/public_html<\/code>.<\/p>\n<p><strong>Secondary and subdomain names&#8217;<\/strong>&nbsp;root directories were specified when they were set up. You can find them listed in cPanel.<\/p>\n<h4>To Find Secondary (Addon) and Subdomains&#8217; Root Directories<\/h4>\n<ol>\n<li>Log in to your IFindHost &#8211; <a href=\"https:\/\/www.cheapdomainregistration.com\/\">CheapDomainRegistration.com<\/a> account.<\/li>\n<li>Click&nbsp;<strong>Hosting<\/strong>.<\/li>\n<li>Next to the account you want to use, click&nbsp;<strong>Manage<\/strong>.<\/li>\n<li>In the&nbsp;<strong>Domains<\/strong>&nbsp;section, click either&nbsp;<strong>Subdomains<\/strong>&nbsp;or&nbsp;<strong>Addon Domains<\/strong>, depending on the type of domain you&#8217;re using.<\/li>\n<\/ol>\n<p>The root directory displays in the&nbsp;<strong>Document Root<\/strong>&nbsp;field.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The root directory of your website is the content that loads when visitors access your domain name in a Web browser. The most obvious consequence of this is that you need to put your &#8220;index file&#8221; in your website&#8217;s root<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[99,103],"tags":[110],"class_list":["post-216","post","type-post","status-publish","format-standard","hentry","category-linux-hosting-cpanel-help","category-setting-up-applications","tag-website-related-applications-might-also-need-to-know-your-websites-root-directory"],"_links":{"self":[{"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/posts\/216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/comments?post=216"}],"version-history":[{"count":2,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/posts\/216\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/posts\/216\/revisions\/595"}],"wp:attachment":[{"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/media?parent=216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/categories?post=216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/tags?post=216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}