{"id":103,"date":"2023-10-21T12:26:41","date_gmt":"2023-10-21T12:26:41","guid":{"rendered":"https:\/\/blog.herohosty.com\/?p=103"},"modified":"2026-10-11T17:50:14","modified_gmt":"2026-10-11T17:50:14","slug":"steps-to-sub-domain-creation-through-cpanel","status":"publish","type":"post","link":"https:\/\/herohosty.com\/blog\/steps-to-sub-domain-creation-through-cpanel\/","title":{"rendered":"How to Create a Subdomain in cPanel (2026 Step-by-Step Guide with SSL &#038; WordPress)"},"content":{"rendered":"<p class=\"lead\" style=\"font-size: 1.15rem; line-height: 1.75; color: #334155; margin-bottom: 24px;\">\n    Subdomains are one of the most flexible features of modern web hosting. Whether you need a separate testing sandbox (<code>staging.yourdomain.com<\/code>), a company knowledgebase (<code>docs.yourdomain.com<\/code>), an online store (<code>shop.yourdomain.com<\/code>), or a standalone client portal, cPanel allows you to create unlimited subdomains in seconds without paying for additional domain names. In this 2026 comprehensive step-by-step tutorial, you will discover how to create a subdomain in cPanel, configure separate document roots, automatically issue free SSL certificates, and deploy WordPress with one click.\n<\/p>\n<div style=\"background: #eff6ff; border-left: 4px solid #3b82f6; border-radius: 8px; padding: 20px; margin: 28px 0; box-shadow: 0 2px 6px rgba(0,0,0,0.03);\">\n<h3 style=\"margin-top: 0; color: #1e3a8a; font-size: 18px; font-weight: 700;\">\ud83d\udccc What Exactly is a Subdomain?<\/h3>\n<p style=\"margin-bottom: 0; color: #1e40af; font-size: 14px; line-height: 1.6;\">\n        A subdomain acts as an independent division of your main domain hierarchy. In <code>blog.herohosty.com<\/code>, <strong>&#8220;blog&#8221;<\/strong> is the subdomain, <strong>&#8220;herohosty&#8221;<\/strong> is the domain name, and <strong>&#8220;.com&#8221;<\/strong> is the top-level domain (TLD). Subdomains can run completely distinct content management systems (CMS), databases, and themes from your primary website.\n    <\/p>\n<\/div>\n<h2 style=\"font-size: 24px; color: #0f172a; margin-top: 36px; margin-bottom: 16px; font-weight: 700;\">Step 1: Accessing the Domains Manager in cPanel<\/h2>\n<p style=\"line-height: 1.7; color: #334155;\">\n    In older versions of cPanel, there was a dedicated &#8220;Subdomains&#8221; icon. In modern cPanel (version 110 and newer, including the Jupiter and Paper Lantern interfaces), all domain management has been unified under the <strong>Domains<\/strong> tool:\n<\/p>\n<ol style=\"line-height: 1.8; color: #334155; margin-bottom: 24px;\">\n<li>Log in to your <strong>HeroHosty cPanel<\/strong> (via <code>yourdomain.com\/cpanel<\/code> or the direct button inside your <a href=\"https:\/\/herohosty.com\/clientarea\/\" style=\"color: #ff6b00; font-weight: 600;\">HeroHosty Client Area<\/a>).<\/li>\n<li>Scroll down to the <strong>Domains<\/strong> section or use the search bar at the top.<\/li>\n<li>Click on <strong>Domains<\/strong> (or <em>Domains &gt; Create a New Domain<\/em>).<\/li>\n<\/ol>\n<h2 style=\"font-size: 24px; color: #0f172a; margin-top: 36px; margin-bottom: 16px; font-weight: 700;\">Step 2: Creating Your Subdomain &amp; Setting Document Root<\/h2>\n<p style=\"line-height: 1.7; color: #334155;\">\n    Once on the Domains dashboard, click the blue <strong>&#8220;Create A New Domain&#8221;<\/strong> button in the top right corner. Follow these critical steps:\n<\/p>\n<div style=\"background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 22px; margin: 20px 0;\">\n<h3 style=\"margin-top: 0; color: #0f172a; font-size: 18px; font-weight: 700;\">\u2699\ufe0f Domain Configuration Fields:<\/h3>\n<ul style=\"line-height: 1.8; color: #334155; margin-bottom: 0;\">\n<li><strong>Domain:<\/strong> Enter your full desired subdomain, for example: <code>app.yourdomain.com<\/code> or <code>staging.yourdomain.com<\/code>.<\/li>\n<li><strong>Share document root (CRITICAL):<\/strong> <u>UNCHECK<\/u> the box that says <em>&#8220;Share document root (\/home\/username\/public_html) with &#8216;yourdomain.com'&#8221;<\/em>. Leaving this checked would point your subdomain to your main site&#8217;s homepage files!<\/li>\n<li><strong>Document Root (File Path):<\/strong> cPanel will automatically suggest <code>public_html\/app.yourdomain.com<\/code> or <code>app.yourdomain.com<\/code>. Keeping your subdomain in its own directory ensures total isolation so scripts and files never mix.<\/li>\n<li>Click <strong>Submit<\/strong> (or <em>Submit and Create Another<\/em>).<\/li>\n<\/ul>\n<\/div>\n<p style=\"line-height: 1.7; color: #334155;\">\n    cPanel will automatically create the DNS zone record (an A record pointing to your server IP) and provision the root directory inside your File Manager.\n<\/p>\n<h2 style=\"font-size: 24px; color: #0f172a; margin-top: 36px; margin-bottom: 16px; font-weight: 700;\">Step 3: Issuing Free SSL for Your Subdomain<\/h2>\n<p style=\"line-height: 1.7; color: #334155;\">\n    Modern web browsers like Google Chrome and Apple Safari will flag any subdomain without an active SSL certificate as &#8220;Not Secure&#8221;. On HeroHosty, free AutoSSL is included with every shared and business hosting account:\n<\/p>\n<ol style=\"line-height: 1.8; color: #334155; margin-bottom: 24px;\">\n<li>Return to cPanel Home and search for <strong>SSL\/TLS Status<\/strong>.<\/li>\n<li>Find your newly created subdomain (e.g. <code>app.yourdomain.com<\/code> and <code>www.app.yourdomain.com<\/code>) in the list.<\/li>\n<li>Check the box next to your subdomain and click <strong>Run AutoSSL<\/strong>.<\/li>\n<li>Within 2 to 5 minutes, AutoSSL verifies DNS resolution and installs a 256-bit DV SSL certificate with a green padlock.<\/li>\n<\/ol>\n<p style=\"line-height: 1.7; color: #334155;\">\n    For more advanced SSL management, check our dedicated walkthrough: <a href=\"https:\/\/herohosty.com\/blog\/how-to-install-ssl-on-herohosty\/\" style=\"color: #ff6b00; font-weight: 600;\">How to Install Free SSL Certificate on HeroHosty<\/a>.\n<\/p>\n<h2 style=\"font-size: 24px; color: #0f172a; margin-top: 36px; margin-bottom: 16px; font-weight: 700;\">Step 4: Installing WordPress on Your New Subdomain<\/h2>\n<p style=\"line-height: 1.7; color: #334155;\">\n    If you created this subdomain to host a new WordPress installation (such as a blog or e-commerce shop):\n<\/p>\n<ol style=\"line-height: 1.8; color: #334155; margin-bottom: 24px;\">\n<li>In cPanel, navigate to the <strong>Softaculous Apps Installer<\/strong> section and click <strong>WordPress<\/strong>.<\/li>\n<li>Click <strong>Install Now<\/strong>.<\/li>\n<li>In the <strong>Choose Installation URL<\/strong> section:\n<ul style=\"margin-top: 6px;\">\n<li>Select <code>https:\/\/<\/code> as the protocol.<\/li>\n<li>In the <strong>Choose Domain<\/strong> dropdown, select your newly created subdomain (<code>staging.yourdomain.com<\/code>).<\/li>\n<li><strong>Leave the &#8220;In Directory&#8221; field completely EMPTY<\/strong> so WordPress installs directly on the root of your subdomain.<\/li>\n<\/ul>\n<\/li>\n<li>Configure your Admin Username, Strong Password, and Email Address.<\/li>\n<li>Click <strong>Install<\/strong> at the bottom. In less than 30 seconds, your subdomain is live!<\/li>\n<\/ol>\n<p style=\"line-height: 1.7; color: #334155;\">\n    See our full step-by-step WordPress tutorial: <a href=\"https:\/\/herohosty.com\/blog\/how-to-install-wordpress-from-herohosty-cpanel\/\" style=\"color: #ff6b00; font-weight: 600;\">How to Install WordPress in cPanel via Softaculous<\/a>.\n<\/p>\n<h2 style=\"font-size: 24px; color: #0f172a; margin-top: 36px; margin-bottom: 16px; font-weight: 700;\">Important DNS Notes if You Use Cloudflare<\/h2>\n<p style=\"line-height: 1.7; color: #334155;\">\n    If your domain uses external DNS management such as Cloudflare or an external registrar instead of <a href=\"https:\/\/herohosty.com\/blog\/what-is-the-herohosty-nameserver\/\" style=\"color: #ff6b00; font-weight: 600;\">HeroHosty&#8217;s official nameservers<\/a>, cPanel cannot update the remote DNS records automatically.\n<\/p>\n<p style=\"line-height: 1.7; color: #334155;\">\n    In this case, open your Cloudflare DNS panel and manually add an <strong>A Record<\/strong> for your subdomain:\n<\/p>\n<ul style=\"line-height: 1.8; color: #334155; margin-bottom: 32px;\">\n<li><strong>Type:<\/strong> A<\/li>\n<li><strong>Name:<\/strong> <code>subdomain_name<\/code> (e.g. <code>app<\/code> or <code>staging<\/code>)<\/li>\n<li><strong>IPv4 Address:<\/strong> <code>92.204.167.189<\/code> (HeroHosty server IP)<\/li>\n<li><strong>Proxy status:<\/strong> Proxied<\/li>\n<\/ul>\n<h2 style=\"font-size: 24px; color: #1a202c; margin-top: 36px; margin-bottom: 20px; font-weight: 700;\">Recommended European Hosting Plans<\/h2>\n<div class=\"hh-plans-stack\">\n    <!-- Single Plan --><\/p>\n<div class=\"hh-plan-row\">\n<div class=\"hh-plan-info\">\n<h3 class=\"hh-plan-title\">Single Shared Hosting<\/h3>\n<p class=\"hh-plan-sub\">Ideal for personal blogs, starter sites, and portfolios.<\/p>\n<div class=\"hh-plan-specs\">\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> 1 Website<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> 10 GB Enterprise NVMe<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> Unmetered Bandwidth<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> Free SSL &amp; cPanel<\/span>\n            <\/div>\n<\/p><\/div>\n<div class=\"hh-plan-side\">\n<div class=\"hh-plan-price-wrap\"><span class=\"hh-plan-price\">\u20ac0.97<\/span> <span class=\"hh-plan-period\">\/month<\/span><\/div>\n<p>            <a href=\"https:\/\/herohosty.com\/clientarea\/cart.php?a=add&#038;pid=104&#038;currency=5\" class=\"hh-btn-order hh-btn-dark\" style=\"background: #0f172a !important; color: #ffffff !important; text-decoration: none !important;\">Deploy Single Plan \u2192<\/a>\n        <\/div>\n<\/p><\/div>\n<p>    <!-- Business Plan (Featured) --><\/p>\n<div class=\"hh-plan-row featured\">\n        <span class=\"hh-plan-badge\">\ud83d\udd25 MOST POPULAR \u2022 RECOMMENDED<\/span><\/p>\n<div class=\"hh-plan-info\">\n<h3 class=\"hh-plan-title\">Business Shared Hosting<\/h3>\n<p class=\"hh-plan-sub\">Designed for growing businesses, WordPress, &amp; e-commerce.<\/p>\n<div class=\"hh-plan-specs\">\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> Up to 5 Websites<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> Unlimited NVMe SSD<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> 2 CPU Cores &amp; 4 GB RAM<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> LiteSpeed Turbo Caching<\/span>\n            <\/div>\n<\/p><\/div>\n<div class=\"hh-plan-side\">\n<div class=\"hh-plan-price-wrap\"><span class=\"hh-plan-price\">\u20ac1.95<\/span> <span class=\"hh-plan-period\">\/month<\/span><\/div>\n<p>            <a href=\"https:\/\/herohosty.com\/clientarea\/cart.php?a=add&#038;pid=105&#038;currency=5\" class=\"hh-btn-order hh-btn-orange\" style=\"background: #ff6b00 !important; color: #ffffff !important; text-decoration: none !important;\">Deploy Business Plan \u2192<\/a>\n        <\/div>\n<\/p><\/div>\n<p>    <!-- Premium Plan --><\/p>\n<div class=\"hh-plan-row\">\n<div class=\"hh-plan-info\">\n<h3 class=\"hh-plan-title\">Premium Shared Hosting<\/h3>\n<p class=\"hh-plan-sub\">Max performance for web agencies and high-traffic portals.<\/p>\n<div class=\"hh-plan-specs\">\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> Unlimited Websites<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> Unlimited NVMe SSD<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> 3 CPU Cores &amp; 6 GB RAM<\/span><br \/>\n                <span class=\"hh-plan-spec-item\"><span class=\"hh-spec-check\">\u2713<\/span> VIP 24\/7 Support &amp; Backups<\/span>\n            <\/div>\n<\/p><\/div>\n<div class=\"hh-plan-side\">\n<div class=\"hh-plan-price-wrap\"><span class=\"hh-plan-price\">\u20ac2.93<\/span> <span class=\"hh-plan-period\">\/month<\/span><\/div>\n<p>            <a href=\"https:\/\/herohosty.com\/clientarea\/cart.php?a=add&#038;pid=106&#038;currency=5\" class=\"hh-btn-order hh-btn-dark\" style=\"background: #0f172a !important; color: #ffffff !important; text-decoration: none !important;\">Deploy Premium Plan \u2192<\/a>\n        <\/div>\n<\/p><\/div>\n<\/div>\n<h2 style=\"font-size: 24px; color: #0f172a; margin-top: 40px; margin-bottom: 20px; font-weight: 700;\">Frequently Asked Questions (FAQ)<\/h2>\n<div class=\"hh-faq-accordion\" style=\"margin-top: 16px;\">\n<div style=\"background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px 22px; margin-bottom: 14px;\">\n<h4 style=\"margin: 0 0 8px; color: #0f172a; font-size: 16px; font-weight: 700;\">Are subdomains free on HeroHosty hosting?<\/h4>\n<p style=\"margin: 0; color: #475569; font-size: 14px; line-height: 1.6;\">Yes! You can create unlimited subdomains on your HeroHosty hosting account without paying registration fees or extra licensing costs.<\/p>\n<\/p><\/div>\n<div style=\"background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px 22px; margin-bottom: 14px;\">\n<h4 style=\"margin: 0 0 8px; color: #0f172a; font-size: 16px; font-weight: 700;\">Why is it important to uncheck &#8220;Share document root&#8221;?<\/h4>\n<p style=\"margin: 0; color: #475569; font-size: 14px; line-height: 1.6;\">If &#8220;Share document root&#8221; is checked, your subdomain shares the exact same file directory as your primary website, preventing you from hosting separate web applications or clean installations.<\/p>\n<\/p><\/div>\n<div style=\"background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px 22px; margin-bottom: 14px;\">\n<h4 style=\"margin: 0 0 8px; color: #0f172a; font-size: 16px; font-weight: 700;\">How long does it take for a new subdomain to work?<\/h4>\n<p style=\"margin: 0; color: #475569; font-size: 14px; line-height: 1.6;\">If your primary domain is already using HeroHosty&#8217;s nameservers, local DNS propagation is nearly instantaneous (usually within 1 to 5 minutes).<\/p>\n<\/p><\/div>\n<div style=\"background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 18px 22px; margin-bottom: 14px;\">\n<h4 style=\"margin: 0 0 8px; color: #0f172a; font-size: 16px; font-weight: 700;\">Can a subdomain have its own unique SSL certificate?<\/h4>\n<p style=\"margin: 0; color: #475569; font-size: 14px; line-height: 1.6;\">Yes. HeroHosty AutoSSL automatically issues a dedicated Let&#8217;s Encrypt \/ Sectigo DV SSL certificate for every subdomain you add.<\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Subdomains are one of the most flexible features of modern web hosting. Whether you need a separate testing sandbox (staging.yourdomain.com), a company knowledgebase (docs.yourdomain.com), an online store (shop.yourdomain.com), or a standalone client portal, cPanel allows you to create unlimited subdomains in seconds without paying for additional domain names. In this 2026 comprehensive step-by-step tutorial, you <a href=\"https:\/\/herohosty.com\/blog\/steps-to-sub-domain-creation-through-cpanel\/\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  How to Create a Subdomain in cPanel (2026 Step-by-Step Guide with SSL &#038; WordPress)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":282,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,10],"tags":[],"class_list":["post-103","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-wordpress-cpanel"],"_links":{"self":[{"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":3,"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/posts\/103\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/posts\/103\/revisions\/283"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/media\/282"}],"wp:attachment":[{"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/categories?post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/herohosty.com\/blog\/wp-json\/wp\/v2\/tags?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}