{"id":3480,"date":"2025-11-17T17:10:30","date_gmt":"2025-11-17T17:10:30","guid":{"rendered":"https:\/\/telahosting.com\/manual\/?p=3480"},"modified":"2026-03-06T13:01:39","modified_gmt":"2026-03-06T13:01:39","slug":"how-to-create-subdomains-using-dns-in-cpanel","status":"publish","type":"post","link":"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/","title":{"rendered":"How to Create Subdomains Using DNS in cPanel"},"content":{"rendered":"<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/E_T3JP7V8c0?rel=0;si=vHHcMUgZTUp84HTi\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#What_Is_a_Subdomain\" >What Is a Subdomain?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#Why_Use_Subdomains\" >Why Use Subdomains?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#What_Youll_Need\" >What You\u2019ll Need<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#Step_1_Log_in_to_Your_cPanel_Account\" >Step 1: Log in to Your cPanel Account<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#Step_2_Find_the_%E2%80%9CDomains%E2%80%9D_Section\" >Step 2: Find the \u201cDomains\u201d Section<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#Step_3_Choose_the_Domain_You_Want_to_Add_a_Subdomain_To\" >Step 3: Choose the Domain You Want to Add a Subdomain To<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#Step_4_Add_a_New_A_Record_for_the_Subdomain\" >Step 4: Add a New A Record for the Subdomain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#Step_5_Wait_for_DNS_Propagation\" >Step 5: Wait for DNS Propagation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#Step_6_Create_a_Folder_for_the_Subdomain_Optional\" >Step 6: Create a Folder for the Subdomain (Optional)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#How_to_Test_if_Your_Subdomain_Works\" >How to Test if Your Subdomain Works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#How_to_Troubleshoot_Common_Subdomain_Issues\" >How to Troubleshoot Common Subdomain Issues<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/telahosting.com\/manual\/how-to-create-subdomains-using-dns-in-cpanel\/#Final_Thoughts\" >Final Thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_Is_a_Subdomain\"><\/span><strong>What Is a Subdomain?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A <strong>subdomain<\/strong> is like a smaller branch of your main website. It appears before your main domain name, separated by a dot. For example:<\/p>\n<ul>\n<li>blog.telahosting.com (for your blog)<\/li>\n<li>shop.telahosting.com (for your online store)<\/li>\n<li>support.telahosting.com (for your helpdesk)<\/li>\n<\/ul>\n<p>A subdomain helps you divide your website into different sections without needing a completely new domain. It\u2019s perfect for managing multiple parts of your business under one main brand.<\/p>\n<p>So instead of buying separate domains, you can use subdomains to create a cleaner and more organized online presence.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Why_Use_Subdomains\"><\/span><strong>Why Use Subdomains?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li><strong>Organization:<\/strong> You can separate different functions of your site, like a blog, store, or forum.<\/li>\n<li><strong>Brand Consistency:<\/strong> It keep your brand name (main domain) visible everywhere.<\/li>\n<li><strong>Ease of Management:<\/strong> You can host subdomains on the same or different servers.<\/li>\n<li><strong>SEO Advantages:<\/strong> When used strategically, it can help target specific audiences or keywords.<\/li>\n<li><strong>Testing or Development:<\/strong> Many developers use it to create testing environments (e.g., dev.yourdomain.com).<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"What_Youll_Need\"><\/span><strong>What You\u2019ll Need<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>Access to your <strong>cPanel account<\/strong> (provided by telaHosting).<\/li>\n<li>A registered domain connected to your hosting.<\/li>\n<li>The idea or purpose for your subdomain (e.g., blog, store, support).<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step_1_Log_in_to_Your_cPanel_Account\"><\/span><strong>Step 1: Log in to Your cPanel Account<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>First, log in to your telaHosting Client Area using your registered email and password.<\/li>\n<li>From the dashboard, select your hosting account and click \u201c<strong><a href=\"https:\/\/telahosting.com\/manual\/manual\/how-to-log-in-to-your-cpanel-hosting-account\/\" target=\"_blank\" rel=\"noopener\">Log in to cPanel<\/a><\/strong>\u201d to access the dashboard<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step_2_Find_the_%E2%80%9CDomains%E2%80%9D_Section\"><\/span><strong>Step 2: Find the \u201cDomains\u201d Section<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Scroll down to find the <strong>Domains<\/strong> section.<\/li>\n<li>Click on <strong style=\"color: #555555;\">\u201cZone Editor.\u201d<\/strong><\/li>\n<\/ul>\n<p>This is where you\u2019ll create and manage DNS records for your domain \u2014 including the one needed to make your subdomain work.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_3_Choose_the_Domain_You_Want_to_Add_a_Subdomain_To\"><\/span><strong>Step 3: Choose the Domain You Want to Add a Subdomain To<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you have multiple domains under your account, choose the main domain you want to use for your secondary domain. For example, if you want to create blog.telahosting.com, you\u2019ll select telahosting.com from the list and click <strong>\u201cManage.\u201d<\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_4_Add_a_New_A_Record_for_the_Subdomain\"><\/span><strong>Step 4: Add a New A Record for the Subdomain<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Click <strong>\u201c+ Add Record\u201d<\/strong> and choose <strong>A Record<\/strong> as the type. Then fill in the following details:<\/p>\n<ul>\n<li><strong>Name:<\/strong> Enter your subdomain name (for example, blog or shop).<\/li>\n<li><strong>TTL (Time to Live):<\/strong> Leave it as the default (e.g., 14400 seconds).<\/li>\n<li><strong>Type:<\/strong> Select \u201cA.\u201d<\/li>\n<li><strong>Record\/Address:<\/strong> Enter the IP address of your hosting server (you can find this in your cPanel under Server Information).<\/li>\n<li>Click <strong style=\"color: #555555;\">\u201cSave Record.\u201d<\/strong><\/li>\n<\/ul>\n<p><img data-dominant-color=\"cdd1da\" data-has-transparency=\"false\" style=\"--dominant-color: #cdd1da;\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3481 aligncenter not-transparent\" src=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/11\/Add-a-New-A-Record-for-the-Subdomain-711x400.avif\" alt=\"Add a New A Record for the Subdomain\" width=\"711\" height=\"400\" srcset=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/11\/Add-a-New-A-Record-for-the-Subdomain-711x400.avif 711w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/11\/Add-a-New-A-Record-for-the-Subdomain-768x432.avif 768w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/11\/Add-a-New-A-Record-for-the-Subdomain.avif 1366w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/p>\n<p>This tells the internet that \u201cblog.telahosting.com\u201d should point to your hosting server\u2019s IP address \u2014 just like your main domain.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_5_Wait_for_DNS_Propagation\"><\/span><strong>Step 5: Wait for DNS Propagation<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After saving, the new A record will need time to update across the internet which is a process called DNS propagation. This usually takes anywhere between a few minutes and 24 hours.<\/p>\n<p>Once propagation is complete, your new subdomain will start working.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_6_Create_a_Folder_for_the_Subdomain_Optional\"><\/span><strong>Step 6: Create a Folder for the Subdomain <\/strong><strong>(Optional) <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>While the DNS A record connects your secondary domain to your hosting server, you\u2019ll also want to make sure there\u2019s a <strong>folder<\/strong> in your hosting space for it.<\/p>\n<p>To do this:<\/p>\n<ol>\n<li>Go back to your cPanel home page.<\/li>\n<li>Scroll to the <strong>Domains<\/strong> section again.<\/li>\n<li>Click <strong>\u201cSubdomains.\u201d or &#8220;Domain.&#8221;<\/strong><\/li>\n<li>Enter your subdomain name (e.g., \u201cblog\u201d).<\/li>\n<li>cPanel will automatically create a new folder inside your public_html directory \u2014 like public_html\/blog.<\/li>\n<\/ol>\n<p><img data-dominant-color=\"e7e8ec\" data-has-transparency=\"false\" style=\"--dominant-color: #e7e8ec;\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3483 aligncenter not-transparent\" src=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/11\/Create-a-Folder-for-the-Subdomain-711x400.avif\" alt=\"Create a Folder for the Subdomain\" width=\"711\" height=\"400\" srcset=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/11\/Create-a-Folder-for-the-Subdomain-711x400.avif 711w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/11\/Create-a-Folder-for-the-Subdomain-768x432.avif 768w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/11\/Create-a-Folder-for-the-Subdomain.avif 1366w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/p>\n<p>You can upload or install a separate website in that folder, completely independent from your main site.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Test_if_Your_Subdomain_Works\"><\/span><strong>How to Test if Your Subdomain Works<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To check if your secondary domain is live, simply type it in your browser: for example: blog.telahosting.com. If it loads (even if it\u2019s blank or shows a default cPanel page), that means your DNS setup is correct. If it doesn\u2019t load yet, give it a bit more time for DNS propagation to complete.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Troubleshoot_Common_Subdomain_Issues\"><\/span><strong>How to Troubleshoot Common Subdomain Issues<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If your new domain doesn\u2019t seem to work after a while, here are some common fixes:<\/p>\n<ul>\n<li><strong>Double-check the IP address<\/strong> in your A record. Make sure it matches your hosting server.<\/li>\n<li><strong>Clear your browser cache<\/strong> or use incognito mode to load the latest version.<\/li>\n<li><strong>Check propagation<\/strong> using tools like <a href=\"https:\/\/dnschecker.org\" target=\"_blank\" rel=\"noopener\">dnschecker.org<\/a>.<\/li>\n<li><strong>Confirm name servers<\/strong> \u2014 if your domain isn\u2019t registered with us at telaHosting, make sure it uses telaHosting\u2019s name servers.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span><strong>Final Thoughts<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Creating a subdomain using DNS in cPanel is really just a few clicks away. You add an A record, link it to your server\u2019s IP, wait a little for propagation, and finally your secondary domain is live!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ufeff What Is a Subdomain? A subdomain is like a smaller branch of your main website. It appears before your main domain name, separated by a dot. For example: blog.telahosting.com (for your blog) shop.telahosting.com (for your online store) support.telahosting.com (for your helpdesk) A subdomain helps you divide your website into different sections without needing a&#8230;<\/p>\n","protected":false},"author":12,"featured_media":3484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[32],"tags":[40,60],"class_list":["post-3480","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","tag-cpanel","tag-dns"],"_links":{"self":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/comments?post=3480"}],"version-history":[{"count":5,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3480\/revisions"}],"predecessor-version":[{"id":3987,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3480\/revisions\/3987"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/media\/3484"}],"wp:attachment":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/media?parent=3480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/categories?post=3480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/tags?post=3480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}