{"id":11352,"date":"2025-04-27T11:21:54","date_gmt":"2025-04-27T05:36:54","guid":{"rendered":"https:\/\/nestnepal.com\/blog\/?p=11352"},"modified":"2025-05-28T14:29:33","modified_gmt":"2025-05-28T08:44:33","slug":"create-a-subdomain-in-cpanel-2025-edition","status":"publish","type":"post","link":"https:\/\/nestnepal.com\/blog\/create-a-subdomain-in-cpanel-2025-edition\/","title":{"rendered":"How to Create a Subdomain in cPanel (2025 Edition)"},"content":{"rendered":"<p class=\"\" data-start=\"77\" data-end=\"472\"><strong data-start=\"77\" data-end=\"139\">Need a separate section for your blog, shop, or portfolio? Well, you may have heard about adding a subdomain in cPanel or even more. If not&#8230;<\/strong><\/p>\n<p class=\"\" data-start=\"77\" data-end=\"472\">Subdomains make it incredibly easy to organize and expand your website without the hassle or cost of purchasing a new domain. Whether you want to launch a blog, create a dedicated online store, build a private client area, or set up a testing environment, subdomains keep everything clean, professional, and under your main brand.<\/p>\n<p class=\"\" data-start=\"77\" data-end=\"472\">Instead of cluttering your main website or investing in multiple domains, you can simply create targeted, easily accessible sections like <code data-start=\"612\" data-end=\"633\">blog.yourdomain.com<\/code> or <code data-start=\"637\" data-end=\"658\">shop.yourdomain.com<\/code>. Each subdomain acts like its own mini-site, giving you the flexibility to design, manage, and optimize content separately, while still staying tied to your primary domain.<\/p>\n<p class=\"\" data-start=\"77\" data-end=\"472\">Setting up a <strong data-start=\"876\" data-end=\"899\">subdomain in cPanel<\/strong> is straightforward and fast, and this no-fluff, up-to-date guide will show you exactly how to do it, even if you&#8217;re not a tech expert.<\/p>\n<p data-start=\"474\" data-end=\"832\"><img decoding=\"async\" class=\"aligncenter wp-image-11356 lazyload\" data-src=\"https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-1024x1024.jpg\" alt=\"subdomain-in-cpanel\" width=\"542\" height=\"542\" data-srcset=\"https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-1024x1024.jpg 1024w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-300x300.jpg 300w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-150x150.jpg 150w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-768x768.jpg 768w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-1536x1536.jpg 1536w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-80x80.jpg 80w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-110x110.jpg 110w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-380x380.jpg 380w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-550x550.jpg 550w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-800x800.jpg 800w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs-1160x1160.jpg 1160w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/blogs.jpg 2000w\" data-sizes=\"(max-width: 542px) 100vw, 542px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 542px; --smush-placeholder-aspect-ratio: 542\/542;\" \/><\/p>\n<h2><span style=\"font-weight: 400;\">What Is a Subdomain?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">A <\/span><a href=\"https:\/\/nestnepal.com\/blog\/create-a-subdomain-in-cpanel-easy-steps\/\"><b>subdomain<\/b><\/a><span style=\"font-weight: 400;\"> is an extension of your main domain that can host different content, like `blog.yourdomain.com` or `store.yourdomain.com`. Each subdomain acts like a mini-website but stays linked to your primary domain.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Perfect for:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; Blogs<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; Online stores<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; Client areas<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; Dev\/test sites<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">What You\u2019ll Need<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">&#8211; Access to your <\/span><b>cPanel<\/b><span style=\"font-weight: 400;\"> account<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; An active domain name<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; (Optional) DNS management access if using Cloudflare, Netlify, etc.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Step-by-Step: Creating a Subdomain in cPanel<\/span><\/h2>\n<ol>\n<li><b>Log in to cPanel<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Access cPanel by visiting `yourdomain.com\/cpanel` or `yourdomain.com:2083`, and log in with your hosting credentials.<\/span><\/p>\n<ol start=\"2\">\n<li><b>Find the Domains Section<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Look for the <\/span><b>Domains<\/b><span style=\"font-weight: 400;\"> area (sometimes just labeled \u201cDomains\u201d or under \u201cDOMAINS\u201d heading).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click \u201c<\/span><b>Domains<\/b><span style=\"font-weight: 400;\">\u201d.<\/span><\/p>\n<ol start=\"3\">\n<li><b> Create a New Domain<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">&#8211; Click \u201c<\/span><b>Create A New Domain<\/b><span style=\"font-weight: 400;\">\u201d.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; Enter your <\/span><b>full subdomain name<\/b><span style=\"font-weight: 400;\"> (example: `blog.yourdomain.com`).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&gt; Important: <\/span><b>Uncheck<\/b><span style=\"font-weight: 400;\"> &#8220;Share document root with main domain&#8221; \u2014 unless you want the subdomain to show the same content as your main site.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; Set your <\/span><b>Document Root<\/b><span style=\"font-weight: 400;\"> \u2014 cPanel will suggest a folder name like `public_html\/blog`, but you can customize it.<\/span><\/p>\n<ol start=\"4\">\n<li><b>Submit and Create<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Click <\/span><b>Submit<\/b><span style=\"font-weight: 400;\">. Done!<\/span><\/p>\n<p><span style=\"font-weight: 400;\">cPanel sets up the subdomain, creates its own directory, and links it to your account.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Verify Your Subdomain<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">After a few minutes (or instantly in some cases):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; Visit your new subdomain in a browser (`blog.yourdomain.com`).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; You should see a placeholder page or default cPanel page unless you&#8217;ve uploaded content.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Use tools like [DNSChecker.org](https:\/\/dnschecker.org) if you don&#8217;t see it right away (especially if external DNS is involved).<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Important Notes<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">&#8211; <\/span><b>Using external DNS (like <a href=\"https:\/\/www.cloudflare.com\/\" target=\"_blank\" rel=\"noopener\">Cloudflare<\/a>\/<a href=\"https:\/\/www.netlify.com\/\" target=\"_blank\" rel=\"noopener\">Netlify<\/a>)?<\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-11359 lazyload\" data-src=\"https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-1024x1024.jpg\" alt=\"cpanel\" width=\"329\" height=\"329\" data-srcset=\"https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-1024x1024.jpg 1024w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-300x300.jpg 300w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-150x150.jpg 150w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-768x768.jpg 768w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-1536x1536.jpg 1536w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-80x80.jpg 80w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-110x110.jpg 110w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-380x380.jpg 380w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-550x550.jpg 550w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-800x800.jpg 800w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare-1160x1160.jpg 1160w, https:\/\/nestnepal.com\/blog\/wp-content\/uploads\/2025\/04\/cloudflare.jpg 2000w\" data-sizes=\"(max-width: 329px) 100vw, 329px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 329px; --smush-placeholder-aspect-ratio: 329\/329;\" \/><\/p>\n<p><span style=\"font-weight: 400;\">\u2794 You\u2019ll need to manually add an &#8220;A record pointing&#8221; your subdomain to your hosting server&#8217;s IP.<\/span><\/p>\n<p><b>&#8211; Propagation time:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u2794 DNS changes can take anywhere from a few minutes to 48 hours, depending on the provider.<\/span><\/p>\n<p><b>&#8211; Interfaces may vary:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0\u2794 Your cPanel may look slightly different depending on the hosting company or cPanel version.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Troubleshooting<\/span><\/h2>\n<table style=\"height: 136px;\" width=\"615\">\n<tbody>\n<tr>\n<td><b>Issue<\/b><\/td>\n<td><b>Solution<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Subdomain not working<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Check DNS settings or wait for propagation<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Subdomain shows the main site<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Confirm \u201cShare document root\u201d is unchecked<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">Can\u2019t find the subdomain folder<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Look under <\/span><span style=\"font-weight: 400;\">public_html\/subdomainname\/<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span style=\"font-weight: 400;\">FAQ:<\/span><\/h2>\n<h3>1. What is a subdomain?<\/h3>\n<p>A subdomain is like a mini-website under your main domain (e.g., blog.yourdomain.com). It&#8217;s perfect for blogs, stores, client areas, and dev\/test sites.<\/p>\n<h3>2. What do I need to create a subdomain?<\/h3>\n<ul>\n<li>Access to your cPanel account<\/li>\n<li>An active domain name<\/li>\n<li>(Optional) DNS management access if using services like Cloudflare<\/li>\n<\/ul>\n<h3>3. How do I create a subdomain in cPanel?<\/h3>\n<ul>\n<li>Log in to cPanel (yourdomain.com\/cpanel).<\/li>\n<li>Go to the Domains section and click Create A New Domain.<\/li>\n<li>Enter your subdomain (e.g., store.yourdomain.com).<\/li>\n<li>Uncheck &#8220;Share document root with main domain.&#8221;<\/li>\n<li>Set your folder (Document Root) and click Submit.<\/li>\n<\/ul>\n<h3>4. How long until my subdomain works?<\/h3>\n<ul>\n<li>If DNS is internal, it may be instant or within minutes.<\/li>\n<li>If using external DNS (like Cloudflare), allow up to 48 hours for DNS propagation.<\/li>\n<li>Common problems and fixes:<\/li>\n<\/ul>\n<ol>\n<li>Subdomain not working? \u2794 Check DNS or wait for propagation.<\/li>\n<li>Subdomain shows the main site? \u2794 Make sure &#8220;Share document root&#8221; was unchecked.<\/li>\n<li>Can&#8217;t find the subdomain folder? \u2794 Look inside public_html\/subdomainname\/.<\/li>\n<\/ol>\n<h3>5. Do I need to update DNS if I use Cloudflare?<\/h3>\n<p>Yes \u2014 manually add an A record for your subdomain pointing to your server&#8217;s IP address.<\/p>\n<h2><span style=\"font-weight: 400;\">Conclusion<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Creating subdomains in cPanel is quick, powerful, and opens up endless possibilities for organizing your site. Whether you\u2019re spinning up a blog, testing a new design, or creating client portals, subdomains give you flexibility without extra cost.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Need a separate section for your blog, shop, or portfolio? Well, you may have heard about adding a subdomain in&#8230;<\/p>\n","protected":false},"author":15,"featured_media":12043,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[369,262,112],"tags":[117,97],"class_list":["post-11352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms","category-domain","category-wordpress-hosting","tag-cpanel","tag-domain"],"_links":{"self":[{"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/posts\/11352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/comments?post=11352"}],"version-history":[{"count":7,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/posts\/11352\/revisions"}],"predecessor-version":[{"id":11364,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/posts\/11352\/revisions\/11364"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/media\/12043"}],"wp:attachment":[{"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/media?parent=11352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/categories?post=11352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nestnepal.com\/blog\/wp-json\/wp\/v2\/tags?post=11352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}