{"id":1915,"date":"2024-03-04T16:37:24","date_gmt":"2024-03-04T16:37:24","guid":{"rendered":"https:\/\/neoxea.com\/kb\/?post_type=ht_kb&#038;p=1915"},"modified":"2024-03-04T16:38:32","modified_gmt":"2024-03-04T16:38:32","slug":"which-is-my-websites-root-directory","status":"publish","type":"ht_kb","link":"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/","title":{"rendered":"Which is my website\u2019s root directory?"},"content":{"rendered":"\n<p>Knowing your website&#8217;s root directory can inform you where to deploy its files and bring it online. On a typical cPanel server we offer at Neoxea, the primary domain name&#8217;s root directory is the &#8220;<strong>public_html<\/strong>&#8221; folder in the user&#8217;s home dir. Here is the absolute path there:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>\/home\/username\/public_html\/<\/strong>&nbsp;<\/code><\/pre>\n\n\n\n<p>Suppose you have a plan that supports addon domains. In that case, you can assign each addon domain to its unique directory in your account. For example, you can create a directory &#8220;<strong>addon-domain.tld<\/strong>&#8221; within your home folder and define each addon domain&#8217;s root directory inside:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>\/home\/username\/addon-domain.net\/website1\/<\/strong>\n\n<strong>\/home\/username\/addon-domain.com\/website2\/<\/strong><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Knowing your website&#8217;s root directory can inform you where to deploy its files and bring it online. On a typical cPanel server we offer at Neoxea, the primary domain name&#8217;s root directory is the &#8220;public_html&#8221; folder in the user&#8217;s home dir. Here is the absolute path there: Suppose you have&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","footnotes":""},"ht-kb-category":[45],"ht-kb-tag":[],"class_list":["post-1915","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cpanel-control-panel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.4 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Which is my website\u2019s root directory? - Neoxea Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Which is my website\u2019s root directory?\" \/>\n<meta property=\"og:description\" content=\"Knowing your website&#8217;s root directory can inform you where to deploy its files and bring it online. On a typical cPanel server we offer at Neoxea, the primary domain name&#8217;s root directory is the &#8220;public_html&#8221; folder in the user&#8217;s home dir. Here is the absolute path there: Suppose you have...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/\" \/>\n<meta property=\"og:site_name\" content=\"Neoxea Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/neoxea\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-04T16:38:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/neoxea.com\/kb\/wp-content\/uploads\/neoxea-logo-blue.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"124\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@neoxea\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/topic\\\/which-is-my-websites-root-directory\\\/\",\"url\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/topic\\\/which-is-my-websites-root-directory\\\/\",\"name\":\"Which is my website\u2019s root directory? - Neoxea Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/#website\"},\"datePublished\":\"2024-03-04T16:37:24+00:00\",\"dateModified\":\"2024-03-04T16:38:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/topic\\\/which-is-my-websites-root-directory\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/neoxea.com\\\/kb\\\/topic\\\/which-is-my-websites-root-directory\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/topic\\\/which-is-my-websites-root-directory\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Web Hosting\",\"item\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Which is my website\u2019s root directory?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/\",\"name\":\"Neoxea Knowledgebase\",\"description\":\"Resources and Tutorials\",\"publisher\":{\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/#organization\",\"name\":\"Neoxea Managed Cloud Hosting\",\"url\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/wp-content\\\/uploads\\\/neoxea-logo-blue.png\",\"contentUrl\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/wp-content\\\/uploads\\\/neoxea-logo-blue.png\",\"width\":800,\"height\":124,\"caption\":\"Neoxea Managed Cloud Hosting\"},\"image\":{\"@id\":\"https:\\\/\\\/neoxea.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/neoxea\",\"https:\\\/\\\/x.com\\\/neoxea\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/neoxea\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Which is my website\u2019s root directory? - Neoxea Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/","og_locale":"en_US","og_type":"article","og_title":"Which is my website\u2019s root directory?","og_description":"Knowing your website&#8217;s root directory can inform you where to deploy its files and bring it online. On a typical cPanel server we offer at Neoxea, the primary domain name&#8217;s root directory is the &#8220;public_html&#8221; folder in the user&#8217;s home dir. Here is the absolute path there: Suppose you have...","og_url":"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/","og_site_name":"Neoxea Knowledgebase","article_publisher":"https:\/\/www.facebook.com\/neoxea","article_modified_time":"2024-03-04T16:38:32+00:00","og_image":[{"width":800,"height":124,"url":"https:\/\/neoxea.com\/kb\/wp-content\/uploads\/neoxea-logo-blue.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@neoxea","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/","url":"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/","name":"Which is my website\u2019s root directory? - Neoxea Knowledgebase","isPartOf":{"@id":"https:\/\/neoxea.com\/kb\/#website"},"datePublished":"2024-03-04T16:37:24+00:00","dateModified":"2024-03-04T16:38:32+00:00","breadcrumb":{"@id":"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/neoxea.com\/kb\/topic\/which-is-my-websites-root-directory\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Web Hosting","item":"https:\/\/neoxea.com\/kb\/"},{"@type":"ListItem","position":2,"name":"Which is my website\u2019s root directory?"}]},{"@type":"WebSite","@id":"https:\/\/neoxea.com\/kb\/#website","url":"https:\/\/neoxea.com\/kb\/","name":"Neoxea Knowledgebase","description":"Resources and Tutorials","publisher":{"@id":"https:\/\/neoxea.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/neoxea.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/neoxea.com\/kb\/#organization","name":"Neoxea Managed Cloud Hosting","url":"https:\/\/neoxea.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/neoxea.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/neoxea.com\/kb\/wp-content\/uploads\/neoxea-logo-blue.png","contentUrl":"https:\/\/neoxea.com\/kb\/wp-content\/uploads\/neoxea-logo-blue.png","width":800,"height":124,"caption":"Neoxea Managed Cloud Hosting"},"image":{"@id":"https:\/\/neoxea.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/neoxea","https:\/\/x.com\/neoxea","https:\/\/www.linkedin.com\/company\/neoxea\/"]}]}},"taxonomy_info":{"ht_kb_category":[{"value":45,"label":"cPanel"}]},"featured_image_src_large":[],"author_info":{"display_name":"kbxea","author_link":"https:\/\/neoxea.com\/kb\/author\/kbxea\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/comments?post=1915"}],"version-history":[{"count":2,"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1915\/revisions"}],"predecessor-version":[{"id":1917,"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/ht-kb\/1915\/revisions\/1917"}],"wp:attachment":[{"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/media?parent=1915"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=1915"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/neoxea.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}