{"id":998,"date":"2021-04-03T12:23:13","date_gmt":"2021-04-03T12:23:13","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=998"},"modified":"2026-05-09T05:58:53","modified_gmt":"2026-05-09T05:58:53","slug":"how-to-place-document-roots-for-addon-subdomains-outside-of-public_html","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/","title":{"rendered":"How to place document roots for addon\/subdomains outside of public_html"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>In cPanel hosting environments, addon domains and subdomains are usually created inside the <code>public_html<\/code> directory by default. While this setup works, it can become difficult to manage when hosting multiple websites under a single account.<\/p>\n\n\n\n<p>Placing document roots outside of <code>public_html<\/code> provides better organization, improved security, and easier maintenance. Each website can have its own isolated directory structure, reducing the risk of accidental file exposure or conflicts between websites.<\/p>\n\n\n\n<p>This guide explains how to create addon domains and subdomains with document roots located outside the <code>public_html<\/code> directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>Before proceeding, ensure the following requirements are met:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access to:\n<ul class=\"wp-block-list\">\n<li>cPanel<\/li>\n\n\n\n<li>SSH (optional but recommended)<\/li>\n\n\n\n<li>WHM\/root access (for server-wide configuration if needed)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>A hosting account with:\n<ul class=\"wp-block-list\">\n<li>Addon domain\/subdomain creation permissions<\/li>\n\n\n\n<li>Proper DNS configuration<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">IMPLEMENTATION<\/h2>\n\n\n\n<p>By default, addon and subdomain document roots are restricted to the publich_hml of the account under which they are created. Please follow the below steps to disable this restriction.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to WHM.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"455\" height=\"360\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06.png\" alt=\"\" class=\"wp-image-1001\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06.png 455w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06-300x237.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06-150x119.png 150w\" sizes=\"auto, (max-width: 455px) 100vw, 455px\" \/><\/figure>\n\n\n\n<p>2. Navigate to the following location.<br>Home&gt;&gt; Server configuration&gt;&gt; Tweak settings<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"216\" height=\"458\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-48-04.png\" alt=\"\" class=\"wp-image-1002\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-48-04.png 216w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-48-04-141x300.png 141w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-48-04-71x150.png 71w\" sizes=\"auto, (max-width: 216px) 100vw, 216px\" \/><\/figure>\n\n\n\n<p>3. Click the &#8220;Domains&#8221; tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"44\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-49-12-1024x44.png\" alt=\"\" class=\"wp-image-1003\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-49-12-1024x44.png 1024w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-49-12-300x13.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-49-12-768x33.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-49-12-150x6.png 150w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-49-12.png 1388w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4. Change the &#8220;Restrict document roots to public_html&#8221; setting to &#8220;Off.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"42\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-50-20-1024x42.png\" alt=\"\" class=\"wp-image-1005\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-50-20-1024x42.png 1024w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-50-20-300x12.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-50-20-768x31.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-50-20-150x6.png 150w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-50-20.png 1478w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>5. Click the &#8220;Save&#8221; button at the bottom of the page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"388\" height=\"162\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-51-16.png\" alt=\"\" class=\"wp-image-1006\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-51-16.png 388w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-51-16-300x125.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-51-16-150x63.png 150w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Placing addon and subdomain document roots outside of <code>public_html<\/code> is a recommended practice for maintaining a cleaner and more secure hosting environment. It improves website organization, simplifies management, and reduces the risk of conflicts between hosted domains.<\/p>\n\n\n\n<p>By configuring custom document roots either through cPanel or WHM, administrators can create a more scalable and professional hosting structure suitable for managing multiple websites efficiently<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In cPanel hosting environments, addon domains and subdomains are usually created inside the public_html directory by default. While this setup works, it can become difficult to manage when hosting multiple websites under a single account. Placing document roots outside of public_html provides better organization, improved security, and easier maintenance. Each website can have its ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,2,33],"tags":[84,73,82,83],"class_list":["post-998","post","type-post","status-publish","format-standard","hentry","category-dedicated-hosting","category-shared-hosting","category-whm","tag-addon-domain-documen-root","tag-document-root","tag-how-to-place-document-roots-for-addon-subdomains-outside-of-public_html","tag-subdomain-document-root"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to place document roots for addon\/subdomains outside of public_html - PheonixSolutions Knowledge-Base<\/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:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to place document roots for addon\/subdomains outside of public_html - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction In cPanel hosting environments, addon domains and subdomains are usually created inside the public_html directory by default. While this setup works, it can become difficult to manage when hosting multiple websites under a single account. Placing document roots outside of public_html provides better organization, improved security, and easier maintenance. Each website can have its ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-03T12:23:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-09T05:58:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06.png\" \/>\n\t<meta property=\"og:image:width\" content=\"455\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"knowledge-base\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"knowledge-base\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/\"},\"author\":{\"name\":\"knowledge-base\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\"},\"headline\":\"How to place document roots for addon\\\/subdomains outside of public_html\",\"datePublished\":\"2021-04-03T12:23:13+00:00\",\"dateModified\":\"2026-05-09T05:58:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/\"},\"wordCount\":270,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Screenshot-from-2021-04-03-17-46-06.png\",\"keywords\":[\"Addon domain documen root\",\"Document root\",\"How to place document roots for addon\\\/subdomains outside of public_html\",\"subdomain document root\"],\"articleSection\":[\"Dedicated Hosting\",\"Shared hosting\",\"WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/\",\"name\":\"How to place document roots for addon\\\/subdomains outside of public_html - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Screenshot-from-2021-04-03-17-46-06.png\",\"datePublished\":\"2021-04-03T12:23:13+00:00\",\"dateModified\":\"2026-05-09T05:58:53+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Screenshot-from-2021-04-03-17-46-06.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/Screenshot-from-2021-04-03-17-46-06.png\",\"width\":455,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/04\\\/03\\\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to place document roots for addon\\\/subdomains outside of public_html\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\",\"name\":\"knowledge-base\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"caption\":\"knowledge-base\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/knowledge-base\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to place document roots for addon\/subdomains outside of public_html - PheonixSolutions Knowledge-Base","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:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/","og_locale":"en_US","og_type":"article","og_title":"How to place document roots for addon\/subdomains outside of public_html - PheonixSolutions Knowledge-Base","og_description":"Introduction In cPanel hosting environments, addon domains and subdomains are usually created inside the public_html directory by default. While this setup works, it can become difficult to manage when hosting multiple websites under a single account. Placing document roots outside of public_html provides better organization, improved security, and easier maintenance. Each website can have its ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2021-04-03T12:23:13+00:00","article_modified_time":"2026-05-09T05:58:53+00:00","og_image":[{"width":455,"height":360,"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06.png","type":"image\/png"}],"author":"knowledge-base","twitter_card":"summary_large_image","twitter_misc":{"Written by":"knowledge-base","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/"},"author":{"name":"knowledge-base","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b"},"headline":"How to place document roots for addon\/subdomains outside of public_html","datePublished":"2021-04-03T12:23:13+00:00","dateModified":"2026-05-09T05:58:53+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/"},"wordCount":270,"commentCount":0,"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06.png","keywords":["Addon domain documen root","Document root","How to place document roots for addon\/subdomains outside of public_html","subdomain document root"],"articleSection":["Dedicated Hosting","Shared hosting","WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/","name":"How to place document roots for addon\/subdomains outside of public_html - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06.png","datePublished":"2021-04-03T12:23:13+00:00","dateModified":"2026-05-09T05:58:53+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/#primaryimage","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06.png","contentUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/04\/Screenshot-from-2021-04-03-17-46-06.png","width":455,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/04\/03\/how-to-place-document-roots-for-addon-subdomains-outside-of-public_html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to place document roots for addon\/subdomains outside of public_html"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b","name":"knowledge-base","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","caption":"knowledge-base"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/knowledge-base\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=998"}],"version-history":[{"count":2,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/998\/revisions"}],"predecessor-version":[{"id":3558,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/998\/revisions\/3558"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}