{"id":18411,"date":"2026-09-29T23:33:54","date_gmt":"2026-09-29T20:33:54","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/create-subdomain-cpanel\/"},"modified":"2026-09-29T23:33:54","modified_gmt":"2026-09-29T20:33:54","password":"","slug":"create-subdomain-cpanel","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/create-subdomain-cpanel\/","title":{"rendered":"How to Create a Subdomain in cPanel"},"content":{"rendered":"<div class=\"hy-tldr\" style=\"background:#f6f7fb;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:0 0 20px;line-height:1.8\"><strong>In short:<\/strong> To create a subdomain (such as blog.yourdomain.com) in cPanel: in current versions go to Domains, then Create A New Domain, enter the full subdomain, set its folder (Document Root) and click Submit. In older versions go to Domains, then Subdomains, enter the name and click Create.<\/div>\n<p>A subdomain is an address for a separate part of your website that uses your main domain with a prefix. For example, if domain.com is your main domain, blog.domain.com is a subdomain. It can host a separate site, such as a blog or a store.<\/p>\n<h2>Current cPanel versions<\/h2>\n<p><strong>1.<\/strong> Log in to cPanel (see <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/how-to-log-in-to-cpanel\/\">how to log in to cPanel<\/a>).<\/p>\n<p><strong>2.<\/strong> In the <strong>Domains<\/strong> section, click <strong>Domains<\/strong>, then <strong>Create A New Domain<\/strong>.<\/p>\n<p><strong>3.<\/strong> Enter the full subdomain (for example blog.yourdomain.com). Untick <strong>Share document root<\/strong> if you want a separate folder, and check the <strong>Document Root<\/strong> folder. Click <strong>Submit<\/strong>.<\/p>\n<h2>Older cPanel versions<\/h2>\n<p><strong>1.<\/strong> In the <strong>Domains<\/strong> section, click <strong>Subdomains<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/hyyathost.com\/images\/2017\/07\/24\/Screenshot-7_24_20172_46_41PM.png\" alt=\"Subdomains\" \/><\/p>\n<p><strong>2.<\/strong> Enter the subdomain name. A folder for it is filled in automatically in <strong>Document Root<\/strong>. Click <strong>Create<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/hyyathost.com\/images\/2017\/07\/24\/Screenshot-7_24_20172_55_26PM.png\" alt=\"Create a subdomain\" \/><\/p>\n<p><strong>3.<\/strong> A message confirms the subdomain was created.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/hyyathost.com\/images\/2017\/07\/24\/Screenshot-7_24_20173_03_52PM.png\" alt=\"Subdomain created\" \/><\/p>\n<p><strong>4.<\/strong> Click <strong>Go Back<\/strong> to see your subdomains.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/hyyathost.com\/images\/2017\/07\/24\/Screenshot-7_24_20173_06_30PM.png\" alt=\"Subdomain list\" \/><\/p>\n<p class=\"hy-svc-link\" style=\"background:#fff5f7;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:20px 0;line-height:1.8\"><strong>Related service:<\/strong> <a href=\"https:\/\/www.hyyat.com\/en\/shared-hosting-2\/\">Hyyat Host shared hosting<\/a> includes cPanel and 24\/7 support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In short: To create a subdomain (such as blog.yourdomain.com) in cPanel: in current versions go to Domains, then Create A New Domain, enter the full subdomain, set its folder (Document Root) and click Submit. In older versions go to Domains, then Subdomains, enter the name and click Create. A subdomain is an address for a [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","inline_featured_image":false,"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2224],"doc_tag":[],"class_list":["post-18411","docs","type-docs","status-publish","hentry","doc_category----cpanel"],"year_month":"2026-10","word_count":200,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"\u0644\u0648\u062d\u0629 \u062a\u062d\u0643\u0645 \u0627\u0644\u0645\u0648\u0642\u0639 ( cpanel )","term_url":"https:\/\/www.hyyat.com\/kb\/%d9%84%d9%88%d8%ad%d8%a9-%d8%aa%d8%ad%d9%83%d9%85-%d8%a7%d9%84%d9%85%d9%88%d9%82%d8%b9-cpanel\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18411"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18411\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18411"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18411"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}