{"id":16970,"date":"2025-04-04T22:34:44","date_gmt":"2025-04-04T20:34:44","guid":{"rendered":"https:\/\/tremhost.com\/blog\/?p=16970"},"modified":"2026-11-10T08:31:06","modified_gmt":"2026-11-10T06:31:06","slug":"how-to-create-subdomains-in-cpanel","status":"publish","type":"post","link":"https:\/\/tremhost.com\/blog\/how-to-create-subdomains-in-cpanel\/","title":{"rendered":"How to create subdomains in cPanel"},"content":{"rendered":"<h2>How to Create Subdomains in cPanel<\/h2>\n<p>Creating subdomains in cPanel allows you to organize your website into distinct sections (e.g., blog.yourdomain.com, shop.yourdomain.com) without purchasing new domains. Follow these steps to create subdomains:<\/p>\n<hr \/>\n<h2>1. Log in to Your cPanel Account<\/h2>\n<ul>\n<li><strong>Access cPanel:<\/strong><br \/>\nOpen your web browser and navigate to your cPanel login page (e.g., <code>yourdomain.com\/cpanel<\/code> or <code>cpanel.yourdomain.com<\/code>).<\/li>\n<li><strong>Sign In:<\/strong><br \/>\nEnter your username and password provided by your hosting provider.<\/li>\n<\/ul>\n<hr \/>\n<h2>2. Locate the Subdomains Tool<\/h2>\n<ul>\n<li><strong>Find the Subdomains Icon:<\/strong><br \/>\nScroll down to the <strong>Domains<\/strong> section of your cPanel dashboard.<\/li>\n<li><strong>Click on Subdomains:<\/strong><br \/>\nClick the <strong>Subdomains<\/strong> icon to open the subdomain management interface.<\/li>\n<\/ul>\n<hr \/>\n<h2>3. Create a New Subdomain<\/h2>\n<ul>\n<li><strong>Enter Subdomain Name:<\/strong><br \/>\nIn the Subdomains interface, type the desired subdomain prefix (e.g., <code>blog<\/code> for blog.yourdomain.com).<\/li>\n<li><strong>Select the Domain:<\/strong><br \/>\nChoose the parent domain for which you want to create the subdomain from the dropdown menu.<\/li>\n<li><strong>Document Root:<\/strong><br \/>\ncPanel will automatically generate a document root (e.g., <code>\/public_html\/blog<\/code>). You can modify this if needed.<\/li>\n<li><strong>Add the Subdomain:<\/strong><br \/>\nClick the <strong>Create<\/strong> button to set up the new subdomain.<\/li>\n<\/ul>\n<hr \/>\n<h2>4. Verify Your Subdomain<\/h2>\n<ul>\n<li><strong>File Management:<\/strong><br \/>\nAfter creation, you\u2019ll see a new folder in your File Manager corresponding to the subdomain\u2019s document root.<\/li>\n<li><strong>Test the Subdomain:<\/strong><br \/>\nOpen your web browser and navigate to your new subdomain (e.g., <code>http:\/\/blog.yourdomain.com<\/code>) to ensure it\u2019s working. If no content is present, you may see a default page or error message until you upload files.<\/li>\n<\/ul>\n<hr \/>\n<h2>5. Configure DNS Settings (If Needed)<\/h2>\n<ul>\n<li><strong>Automatic DNS Update:<\/strong><br \/>\nIn most cases, cPanel automatically adds the necessary DNS records for your subdomain.<\/li>\n<li><strong>Manual Adjustments:<\/strong><br \/>\nIf needed, you can manage DNS records via the <strong>Zone Editor<\/strong> in cPanel to fine-tune settings.<\/li>\n<\/ul>\n<hr \/>\n<h2>Final Thoughts<\/h2>\n<p>Creating subdomains in cPanel is a quick and efficient way to expand your website\u2019s structure. Whether you\u2019re launching a blog, a shop, or a separate service, subdomains help organize content and keep your main domain uncluttered.<\/p>\n<p>Ready to create your subdomain? Log in to cPanel, follow these steps, and start organizing your website into distinct, easily manageable sections!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Create Subdomains in cPanel Creating subdomains in cPanel allows you to organize your website into distinct sections (e.g., blog.yourdomain.com, shop.yourdomain.com) without purchasing new domains. Follow these&hellip;<\/p>\n","protected":false},"author":1772,"featured_media":16971,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[163],"tags":[],"class_list":["post-16970","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting"],"_links":{"self":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/users\/1772"}],"replies":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/comments?post=16970"}],"version-history":[{"count":3,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16970\/revisions"}],"predecessor-version":[{"id":81570,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16970\/revisions\/81570"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media\/16971"}],"wp:attachment":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media?parent=16970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/categories?post=16970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/tags?post=16970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}