{"id":138,"date":"2024-01-26T21:39:31","date_gmt":"2024-01-26T21:39:31","guid":{"rendered":"https:\/\/webhostingdelhi.net.in\/tutorials\/?p=138"},"modified":"2024-01-26T21:50:57","modified_gmt":"2024-01-26T21:50:57","slug":"how-to-create-subdomain-in-cpanel","status":"publish","type":"post","link":"https:\/\/webhostingdelhi.net.in\/tutorials\/how-to-create-subdomain-in-cpanel\/","title":{"rendered":"How to Create a Subdomain in cPanel with easy steps ?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A subdomain is a subset of a larger domain within the Domain Name System (DNS). It allows website owners to create distinct web addresses under their main domain, often used to organize and navigate different sections or services of a website. For example, if &#8220;example.com&#8221; is a domain, a subdomain could be &#8220;blog.example.com&#8221; or &#8220;shop.example.com.&#8221; <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"450\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/subdomain.webp\" alt=\"subdomain\" class=\"wp-image-140\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/subdomain.webp 1024w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/subdomain-300x132.webp 300w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/subdomain-768x338.webp 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Each sub domain can have its own unique content and functionality, yet it is still part of the main domain. Sub domains are commonly used for various purposes, such as separating different types of content, creating distinct sections of a website, or hosting specific services, and they are created and managed through the hosting provider&#8217;s control panel, such as cPanel.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#login-to-c-panel\">Login to cPanel:<\/a><\/li><li><a href=\"#locate-the-domains-section\">Locate the &#8220;domains&#8221; Section:<\/a><\/li><li><a href=\"#create-a-subdomain\">Create a Subdomain:<\/a><\/li><li><a href=\"#choose-the-document-root\">Choose the Document Root:<\/a><\/li><li><a href=\"#verify-the-creation\">Verify the Creation:<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the general steps you can follow:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"login-to-c-panel\"><strong>Login to cPanel:<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open your web browser and navigate to your cPanel login page. This is usually accessed by entering your domain followed by &#8220;\/cpanel&#8221; (e.g., <code>http:\/\/yourdomain.com\/cpanel<\/code>).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"465\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/login.png\" alt=\"\" class=\"wp-image-143\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/login.png 950w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/login-300x147.png 300w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/login-768x376.png 768w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Enter your cPanel username and password to log in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"locate-the-domains-section\"><strong>Locate the &#8220;domains&#8221; Section:<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once logged in, find the &#8220;Domains&#8221; section in cPanel. There should be an option called &#8220;Sub domains&#8221; or something similar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"184\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/domains-1024x184.png\" alt=\"\" class=\"wp-image-144\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/domains-1024x184.png 1024w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/domains-300x54.png 300w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/domains-768x138.png 768w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/domains.png 1182w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-subdomain\"><strong>Create a Subdomain:<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the domains section, you will see a form to create a new domain. Enter the desired sub domain in the &#8220;Sub domain&#8221; field. For example, if you want to create &#8220;blog.yourdomain.com,&#8221; enter in this field.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"364\" data-id=\"146\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/blog-1024x364.png\" alt=\"\" class=\"wp-image-146\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/blog-1024x364.png 1024w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/blog-300x107.png 300w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/blog-768x273.png 768w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/blog.png 1076w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"choose-the-document-root\"><strong>Choose the Document Root:<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The &#8220;Document Root&#8221; field will be automatically filled based on the sub domain you entered. You can leave it as is or choose a different directory where you want the sub domain&#8217;s files to be stored.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"220\" data-id=\"147\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/root.png\" alt=\"\" class=\"wp-image-147\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/root.png 1012w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/root-300x65.png 300w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/root-768x167.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"verify-the-creation\"><strong>Verify the Creation:<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After clicking &#8220;submit,&#8221; cPanel will confirm that the sub <a href=\"https:\/\/www.webhostingdelhi.net.in\/domain-registration-delhi\/#\">domain <\/a>has been created. You should now be able to access your sub domain.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"400\" data-id=\"148\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/subdomain-in-cpanel.jpg\" alt=\"\" class=\"wp-image-148\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/subdomain-in-cpanel.jpg 800w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/subdomain-in-cpanel-300x150.jpg 300w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/01\/subdomain-in-cpanel-768x384.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Keep in mind that the exact steps may vary slightly depending on the version of cPanel your hosting provider is using. If you have difficulty finding the Sub domains section or encounter any issues, it&#8217;s a good idea to check with your hosting provider&#8217;s documentation or support for specific instructions tailored to your cPanel version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A subdomain is a subset of a larger domain within the Domain Name System (DNS). It allows website owners to create distinct web addresses under their main domain, often used to organize and navigate different sections or services of a website. For example, if &#8220;example.com&#8221; is a domain, a subdomain could be &#8220;blog.example.com&#8221; or &#8220;shop.example.com.&#8221; [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":152,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[14],"class_list":["post-138","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-panel","tag-subdomain"],"_links":{"self":[{"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":8,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":153,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/posts\/138\/revisions\/153"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/media\/152"}],"wp:attachment":[{"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}