{"id":560,"date":"2024-05-07T08:32:46","date_gmt":"2024-05-07T08:32:46","guid":{"rendered":"https:\/\/thebeehost.com\/wiki\/?p=560"},"modified":"2024-08-25T05:23:12","modified_gmt":"2024-08-25T05:23:12","slug":"creating-a-subdomain-in-cpanel-and-directadmin","status":"publish","type":"post","link":"https:\/\/thebeehost.com\/wiki\/creating-a-subdomain-in-cpanel-and-directadmin\/","title":{"rendered":"Creating a Subdomain in cPanel and DirectAdmin"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><span style=\"font-weight: 400;\">Subdomains can be very useful for website owners who want to create separate sections of their website or establish distinct web presences under their main domain. They can help make your website structure cleaner and improve user experience. If you&#8217;re interested in creating a subdomain, this guide provides step-by-step instructions for two popular web hosting control panels: <\/span><b>cPanel<\/b><span style=\"font-weight: 400;\"> and <\/span><b>DirectAdmin<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h3><b>What is a Subdomain?<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Before we dive into creating one, let&#8217;s clarify what a subdomain is. Essentially, a subdomain is an extension of your domain name that appears before the main domain.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, if your main domain is &#8220;<\/span><b>example.com<\/b><span style=\"font-weight: 400;\">,&#8221; a subdomain could be &#8220;<\/span><b>blog.example.com<\/b><span style=\"font-weight: 400;\">&#8221; or &#8220;<\/span><b>shop.example.com<\/b><span style=\"font-weight: 400;\">&#8220;. Subdomains are typically used to separate different sections or functionalities of a website.<\/span><\/p>\n<h3><b>Creating a Subdomain in cPanel:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">cPanel is one of the most widely used web hosting control panels, known for its user-friendly interface and robust features. If you&#8217;re using cPanel, creating a subdomain is a straightforward process.<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\"> Enter your cPanel login credentials to access your hosting account.<\/span><\/li>\n<\/ol>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-561\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/1-1.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/1-1.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/1-1-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/1-1-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/1-1-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/1-1-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<ol start=\"2\">\n<li><span style=\"font-weight: 400;\"> In the cPanel dashboard, navigate to the &#8220;<\/span><b>Domains<\/b><span style=\"font-weight: 400;\">&#8221; section and click on the &#8220;<\/span><b>Domains<\/b><span style=\"font-weight: 400;\">&#8220;.<\/span><\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-562\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/2-1.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/2-1.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/2-1-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/2-1-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/2-1-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/2-1-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"> In the Domains interface, click on the \u201c<\/span><b>Create A New Domain<\/b><span style=\"font-weight: 400;\">\u201d button.<\/span><\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-563\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/3-1.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/3-1.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/3-1-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/3-1-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/3-1-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/3-1-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<ol start=\"4\">\n<li><span style=\"font-weight: 400;\"> In the &#8220;<\/span><b>domain<\/b><span style=\"font-weight: 400;\">&#8221; field, enter the desired subdomain name (e.g., &#8220;blog.example.com&#8221;) and <\/span><b>De-select\/Uncheck <\/b><span style=\"font-weight: 400;\">the &#8220;<\/span><b>Share document root (\/home\/username\/public_html) with \u201cdomain.tld\u201d.<\/b><span style=\"font-weight: 400;\">&#8221; option.<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-575\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/05.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/05.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/05-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/05-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/05-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/05-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<ol start=\"5\">\n<li><span style=\"font-weight: 400;\"> Click on the &#8220;<\/span><b>Submit<\/b><span style=\"font-weight: 400;\">&#8221; button to finalize the creation of your subdomain.<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-576\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/06.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/06.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/06-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/06-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/06-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/06-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">And that&#8217;s it! You&#8217;ve successfully created a subdomain in cPanel.<\/span><\/p>\n<h3><b>Creating a Subdomain in DirectAdmin:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">DirectAdmin is another popular web hosting control panel known for its simplicity and efficiency. For those using DirectAdmin, creating a subdomain is just as easy.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0 \u00a0 \u00a01. Enter your DirectAdmin login credentials to access your hosting account.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-565\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/5-1.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/5-1.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/5-1-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/5-1-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/5-1-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/5-1-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<ol start=\"2\">\n<li><span style=\"font-weight: 400;\"> In the DirectAdmin dashboard, locate and click on the &#8220;<\/span><b>Subdomain Management<\/b><span style=\"font-weight: 400;\">&#8221; option under the &#8220;<\/span><b>Account Manager<\/b><span style=\"font-weight: 400;\">&#8221; section.<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-566\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/6-1.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/6-1.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/6-1-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/6-1-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/6-1-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/6-1-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<ol start=\"3\">\n<li><span style=\"font-weight: 400;\"> Once there, Click on the &#8220;<\/span><b>Add Subdomain<\/b><span style=\"font-weight: 400;\">&#8221; button.<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-567\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/7-1.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/7-1.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/7-1-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/7-1-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/7-1-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/7-1-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<ol start=\"4\">\n<li><span style=\"font-weight: 400;\"> In the &#8220;<\/span><b>Subdomain<\/b><span style=\"font-weight: 400;\">&#8221; field, enter the desired subdomain name without the main domain part (e.g., &#8220;blog&#8221; for &#8220;blog.example.com&#8221;) and c<\/span><span style=\"font-weight: 400;\">lick on the &#8220;<\/span><b>Add Subdomain<\/b><span style=\"font-weight: 400;\">&#8221; button to finalize the creation of your subdomain.<\/span><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-568\" src=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/8-1.png\" alt=\"\" width=\"1920\" height=\"900\" srcset=\"https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/8-1.png 1920w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/8-1-300x141.png 300w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/8-1-1024x480.png 1024w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/8-1-768x360.png 768w, https:\/\/thebeehost.com\/wiki\/wp-content\/uploads\/2024\/05\/8-1-1536x720.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">And there you have it! You&#8217;ve successfully created a subdomain in DirectAdmin.<\/span><\/p>\n<h3><b>Wrapping It Up<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Subdomains are a great tool for organizing and managing different sections of your website. Whether you&#8217;re using cPanel or DirectAdmin as your web hosting control panel, creating a subdomain is a quick and straightforward process. By following the instructions outlined in this guide, you&#8217;ll be able to set up subdomains for your website with ease, helping you enhance your website&#8217;s structure and improve user experience.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"tmnf_excerpt\"><p>Subdomains can be very useful for website owners who want to create separate sections of their website or establish distinct web presences under their main domain. They can help make your website structure cleaner and improve user experience. If you&#8217;re interested in creating a subdomain, this guide provides step-by-step instructions for two popular web hosting &hellip;<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[4,30],"tags":[47,45,46],"class_list":["post-560","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-direct-admin","tag-domain-management","tag-subdomain-creation","tag-subdomain-setup"],"_links":{"self":[{"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/posts\/560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/comments?post=560"}],"version-history":[{"count":0,"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/posts\/560\/revisions"}],"wp:attachment":[{"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/media?parent=560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/categories?post=560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebeehost.com\/wiki\/wp-json\/wp\/v2\/tags?post=560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}