{"id":225,"date":"2023-10-06T08:39:39","date_gmt":"2023-10-06T08:39:39","guid":{"rendered":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?p=225"},"modified":"2025-12-02T13:49:25","modified_gmt":"2025-12-02T13:49:25","slug":"how-to-create-a-subdomain-for-your-website","status":"publish","type":"post","link":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html","title":{"rendered":"How to Create a Subdomain For Your Website"},"content":{"rendered":"<div class=\"kb-article-content\">\n<p><span style=\"font-weight: 400;\">A subdomain is a part of your main domain name that will allow you to manage different sections of your website. <\/span><span style=\"font-weight: 400;\">You can create multiple subdomains or child domains on your main domain.<\/span><\/p>\n<p><strong>For example: <\/strong><span style=\"font-weight: 400;\">company.yourwebsite.com <\/span><\/p>\n<p><span style=\"font-weight: 400;\">In this example, \u2018company\u2019 is the subdomain, \u2018your website\u2019 is the primary domain and &nbsp;\u2018.com\u2019 is the top-level domain (TLD). You can use any text as your subdomain, but you want to make sure it\u2019s easy to type and remember.<\/span><br \/>\n<span style=\"font-weight: 400;\"><strong>Want to create a Domain on your cPanel?<\/strong><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<span style=\"font-weight: 400;\"><strong>Read: <a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/224\/how-to-add-a-new-domain-to-cpanel.html\">How to Add a New Domain To Cpanel?<\/a><\/strong><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><span style=\"font-weight: 400;\"><strong>Use Cases of Subdomain<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The most not unusual use-case of a subdomain is for growing a testing or staging version of an internet site. Often developers will take a look at new plugins and updates on a subdomain staging website earlier than publishing them. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Every other common use of a subdomain is to create an internet eCommerce keep. Often organizations need a separate subdomain to handle transactions because eCommerce sites commonly require a greater complicated installation.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We&#8217;ve got additionally visible organizations to use subdomains for mobile websites&nbsp;<\/span><span style=\"font-weight: 400;\">(m.yoursite.com), area-unique websites (uk.yoursite.com), and creating sub-sections of the website. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">You could use a subdomain to serve a selected organization of customers in your site like &nbsp;\u2018guest.yourwebsite.com\u2019, \u2018consumer.yourwebsite.com\u2019, and greater. That is how internet site builder structures like WordPress.com, blogger.com, and others offer custom websites to users. <\/span><br \/>\n<span style=\"font-weight: 400;\"><strong>Want to know the date or year the website page was created?<\/strong><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<span style=\"font-weight: 400;\"><strong>Read: <a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/215\/How-to-find-out-when-a-webpage-was-created-.html\">How to find out when a webpage was created?<\/a><\/strong><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<h2><span style=\"font-weight: 400;\"><strong>Simple Steps To Create Subdomain in cPanel<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400;\"><strong><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/04FNn-_to-Y\" width=\"100%\" height=\"350\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/strong><\/span><\/p>\n<ul>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Log in to your cPanel account<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Once you have a login to cPanel, navigate to the Domain section.<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Then click on the \u2018Subdomains\u2019 option.<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Here you will see a new page with 3 textboxes opened. You can also notice that &#8216;no Subdomains are configured&#8217; at the bottom.<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Now enter the desired prefix in the Subdomain text box.<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Select the desired Domain Name from the drop-down menu.<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Then enter the home directory for the subdomain in the Document Root text box.<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Please note that the house icon represents the home directory of the cPanel account. The Document Root text box specifies the location of the new subdomain&#8217;s directory in relation to the home directory of the cPanel account. For example, if you type a subdomain in the Directory text box and your cPanel account&#8217;s home directory is \/home\/example, the subdomain will be created in the \/home\/example\/subdomain.example.com\/ directory. The system automatically fills this text box with the fully qualified domain name of the subdomain<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Also, note that you cannot use these directories as a document root:<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">Click on the \u2018Create\u2019 button and your subdomain will be created now.<\/span><\/li>\n<li style=\"padding-bottom: 10px;\"><span style=\"font-weight: 400;\">To open the subdomain\u2019s main directory with the File Manager interface then click the link under Document Root that corresponds to that subdomain.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\"><strong>Want to know the working process of a Website?<\/strong><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<span style=\"font-weight: 400;\"><strong>Read: <a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/205\/how-does-a-website-work.html\">How does a website work?<\/a><\/strong><\/span><\/p>\n<hr style=\"border-top: 2px dotted black;\">\n<p><span style=\"font-weight: 400;\"><strong>Congratulations! <\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">You\u2019ve just created your first subdomain.<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A subdomain is a part of your main domain name that will allow you to manage different sections of your website. You can create multiple subdomains or child domains on your main domain. For example: company.yourwebsite.com In this example, \u2018company\u2019 is the subdomain, \u2018your website\u2019 is the primary domain and &nbsp;\u2018.com\u2019 is the top-level domain [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-225","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create a Subdomain For Your Website<\/title>\n<meta name=\"description\" content=\"Want to create a subdomain? Here, we are with the simple steps to create a subdomain for your website in cPanel. Let\u2019s find out how?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Subdomain For Your Website\" \/>\n<meta property=\"og:description\" content=\"Want to create a subdomain? Here, we are with the simple steps to create a subdomain for your website in cPanel. Let\u2019s find out how?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html\" \/>\n<meta property=\"og:site_name\" content=\"Host IT Smart Knowledge base\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-06T08:39:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-02T13:49:25+00:00\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html\",\"name\":\"How to Create a Subdomain For Your Website\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2025-12-02T13:49:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\"},\"description\":\"Want to create a subdomain? Here, we are with the simple steps to create a subdomain for your website in cPanel. Let\u2019s find out how?\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Subdomain For Your Website","description":"Want to create a subdomain? Here, we are with the simple steps to create a subdomain for your website in cPanel. Let\u2019s find out how?","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:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html","og_locale":"en_US","og_type":"article","og_title":"How to Create a Subdomain For Your Website","og_description":"Want to create a subdomain? Here, we are with the simple steps to create a subdomain for your website in cPanel. Let\u2019s find out how?","og_url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html","og_site_name":"Host IT Smart Knowledge base","article_published_time":"2023-10-06T08:39:39+00:00","article_modified_time":"2025-12-02T13:49:25+00:00","author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html","name":"How to Create a Subdomain For Your Website","isPartOf":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website"},"datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2025-12-02T13:49:25+00:00","author":{"@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108"},"description":"Want to create a subdomain? Here, we are with the simple steps to create a subdomain for your website in cPanel. Let\u2019s find out how?","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/225\/how-to-create-a-subdomain-for-your-website.html"]}]},{"@type":"WebSite","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/317c14a877385667f19d3b7496bd5108","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4827c56a6721070dde339640d47ff44ba0d0e515c7e577cf29305ab72383fe3?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":6,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":3792,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/225\/revisions\/3792"}],"wp:attachment":[{"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}