{"id":944,"date":"2021-02-27T12:55:36","date_gmt":"2021-02-27T12:55:36","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=944"},"modified":"2026-05-07T17:18:07","modified_gmt":"2026-05-07T17:18:07","slug":"how-to-specify-a-custom-document-root-for-a-domain-in-cpanel","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/","title":{"rendered":"How to specify a custom Document Root for a domain in cPanel"},"content":{"rendered":"\n<p class=\"has-medium-font-size\">Introduction<\/p>\n\n\n\n<p>In cPanel, you can configure a custom document root for a domain. This allows the domain to load website files from a specific directory instead of the default public_html location.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access to cPanel<\/li>\n\n\n\n<li>Domain already added to the hosting account<\/li>\n\n\n\n<li>Desired directory path created<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation<\/h2>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Step 1:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to the cPanel.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"381\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17.png\" alt=\"\" class=\"wp-image-945\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17.png 405w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17-300x282.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17-150x141.png 150w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Step 2:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under the <strong>Domains<\/strong> section, click on <strong>Domains<\/strong><\/li>\n\n\n\n<li>Navigate to:<br>HOME >>> DOMAINS<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"135\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-16-13-1024x135.png\" alt=\"\" class=\"wp-image-946\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-16-13-1024x135.png 1024w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-16-13-300x40.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-16-13-768x102.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-16-13-150x20.png 150w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-16-13.png 1323w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Step 3:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enter your domain name in the search box<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"183\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-17-04.png\" alt=\"\" class=\"wp-image-947\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-17-04.png 644w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-17-04-300x85.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-17-04-150x43.png 150w\" sizes=\"auto, (max-width: 644px) 100vw, 644px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Step 4:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on <strong>&#8220;Manage.&#8221;<\/strong><\/li>\n\n\n\n<li>Select the domain<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"42\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-18-381-1024x42.png\" alt=\"\" class=\"wp-image-948\" style=\"width:749px;height:30px\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-18-381-1024x42.png 1024w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-18-381-300x12.png 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-18-381-768x32.png 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-18-381-150x6.png 150w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-18-381.png 1432w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Step 5:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the <strong>New Document Root<\/strong> field, specify the required document root path<\/li>\n\n\n\n<li>Click on <strong>Update<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\">Now, the new document root is updated.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"299\" src=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-21-52.jpg\" alt=\"\" class=\"wp-image-949\" srcset=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-21-52.jpg 946w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-21-52-300x95.jpg 300w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-21-52-768x243.jpg 768w, https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-21-52-150x47.jpg 150w\" sizes=\"auto, (max-width: 946px) 100vw, 946px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>By updating the document root in cPanel, you can control which directory serves files for your domain.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In cPanel, you can configure a custom document root for a domain. This allows the domain to load website files from a specific directory instead of the default public_html location. Prerequisites Implementation Step 1: Step 2: Step 3: Step 4: Step 5: Now, the new document root is updated. Conclusion By updating the document ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/\" 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":[5,74,73],"class_list":["post-944","post","type-post","status-publish","format-standard","hentry","category-dedicated-hosting","category-shared-hosting","category-whm","tag-cpanel","tag-custom-document-root","tag-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 specify a custom Document Root for a domain in cPanel - 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\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to specify a custom Document Root for a domain in cPanel - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction In cPanel, you can configure a custom document root for a domain. This allows the domain to load website files from a specific directory instead of the default public_html location. Prerequisites Implementation Step 1: Step 2: Step 3: Step 4: Step 5: Now, the new document root is updated. Conclusion By updating the document ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-27T12:55:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-07T17:18:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17.png\" \/>\n\t<meta property=\"og:image:width\" content=\"405\" \/>\n\t<meta property=\"og:image:height\" content=\"381\" \/>\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=\"2 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\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/\"},\"author\":{\"name\":\"knowledge-base\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\"},\"headline\":\"How to specify a custom Document Root for a domain in cPanel\",\"datePublished\":\"2021-02-27T12:55:36+00:00\",\"dateModified\":\"2026-05-07T17:18:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/\"},\"wordCount\":135,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/Screenshot-from-2021-02-27-18-13-17.png\",\"keywords\":[\"cPanel\",\"custom document root\",\"Document root\"],\"articleSection\":[\"Dedicated Hosting\",\"Shared hosting\",\"WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/\",\"name\":\"How to specify a custom Document Root for a domain in cPanel - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/Screenshot-from-2021-02-27-18-13-17.png\",\"datePublished\":\"2021-02-27T12:55:36+00:00\",\"dateModified\":\"2026-05-07T17:18:07+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/Screenshot-from-2021-02-27-18-13-17.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/Screenshot-from-2021-02-27-18-13-17.png\",\"width\":405,\"height\":381},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2021\\\/02\\\/27\\\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to specify a custom Document Root for a domain in cPanel\"}]},{\"@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 specify a custom Document Root for a domain in cPanel - 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\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to specify a custom Document Root for a domain in cPanel - PheonixSolutions Knowledge-Base","og_description":"Introduction In cPanel, you can configure a custom document root for a domain. This allows the domain to load website files from a specific directory instead of the default public_html location. Prerequisites Implementation Step 1: Step 2: Step 3: Step 4: Step 5: Now, the new document root is updated. Conclusion By updating the document ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2021-02-27T12:55:36+00:00","article_modified_time":"2026-05-07T17:18:07+00:00","og_image":[{"width":405,"height":381,"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17.png","type":"image\/png"}],"author":"knowledge-base","twitter_card":"summary_large_image","twitter_misc":{"Written by":"knowledge-base","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/"},"author":{"name":"knowledge-base","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b"},"headline":"How to specify a custom Document Root for a domain in cPanel","datePublished":"2021-02-27T12:55:36+00:00","dateModified":"2026-05-07T17:18:07+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/"},"wordCount":135,"commentCount":0,"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17.png","keywords":["cPanel","custom document root","Document root"],"articleSection":["Dedicated Hosting","Shared hosting","WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/","name":"How to specify a custom Document Root for a domain in cPanel - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17.png","datePublished":"2021-02-27T12:55:36+00:00","dateModified":"2026-05-07T17:18:07+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/#primaryimage","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17.png","contentUrl":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-content\/uploads\/2021\/02\/Screenshot-from-2021-02-27-18-13-17.png","width":405,"height":381},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2021\/02\/27\/how-to-specify-a-custom-document-root-for-a-domain-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to specify a custom Document Root for a domain in cPanel"}]},{"@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\/944","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=944"}],"version-history":[{"count":4,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/944\/revisions"}],"predecessor-version":[{"id":3538,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/944\/revisions\/3538"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}