{"id":9151,"date":"2023-12-13T04:41:36","date_gmt":"2023-12-13T04:41:36","guid":{"rendered":"https:\/\/www.youstable.com\/blog\/?post_type=manual_kb&#038;p=9151"},"modified":"2025-11-22T04:48:10","modified_gmt":"2025-11-22T04:48:10","slug":"how-to-create-a-subdomain-in-directadmin","status":"publish","type":"post","link":"https:\/\/www.youstable.com\/blog\/how-to-create-a-subdomain-in-directadmin","title":{"rendered":"How to create a Subdomain in DirectAdmin &#8211; Simple &amp; Easy Way"},"content":{"rendered":"\n<p>A&nbsp;<strong>subdomain<\/strong>&nbsp;is the additional part of your main website that can exist as a <a href=\"https:\/\/www.youstable.com\/blog\/how-to-duplicate-wordpress-website\/\">new website<\/a> without a new domain name. <\/p>\n\n\n\n<p>Subdomains are used to manage, organize and navigate different URLs for your site&#8217;s content areas. <\/p>\n\n\n\n<p>For example<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1862\" height=\"743\" src=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/subdomain-1.png\" alt=\"subdomain-1\" class=\"wp-image-6631\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/subdomain-1.png 1862w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/subdomain-1-768x306.png 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/subdomain-1-1536x613.png 1536w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/subdomain-1-810x323.png 810w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/subdomain-1-1140x455.png 1140w\" sizes=\"auto, (max-width: 1862px) 100vw, 1862px\" \/><\/figure>\n\n\n\n<p>In this example, <strong>\u2018blog<\/strong>\u2019 is the subdomain, \u2018<strong>yourdomain<\/strong>\u2019 is the primary domain, and \u2018.com\u2019 is the top-level domain (TLD).<\/p>\n\n\n\n<p>Any text can be used as your subdomain, but please make sure it\u2019s easy to remember.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"how-to-create-a-subdomain-in-cpanel\">How to create a Subdomain in cPanel<\/h3>\n\n\n\n<p>Here we assume that you\u2019ve already logged in to <a href=\"https:\/\/youstable.com\/blog\/how-to-login-into-directadmin\/\" target=\"_blank\" rel=\"noopener\">DirectAdmin<\/a><strong>.<\/strong><\/p>\n\n\n\n<p><strong>1)<\/strong>&nbsp;Go to the \u2018Account Manager\u2019 section and click on the&nbsp;<strong>Subdomain Management<\/strong>&nbsp;icon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"299\" src=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/image-22-1.png\" alt=\"\" class=\"wp-image-6638\" srcset=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/image-22-1.png 909w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/image-22-1-768x253.png 768w, https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/image-22-1-810x266.png 810w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/figure>\n\n\n\n<p><strong>2)<\/strong>&nbsp;Select your domain name for which you want to create a subdomain and Click on <strong>ADD SUBDOMAIN<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"763\" height=\"325\" src=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/image-24-1.png\" alt=\"\" class=\"wp-image-6640\"><\/figure>\n\n\n\n<p><strong>3)<\/strong> Enter the subdomain text you wish to create and Click on <strong>ADD SUBDOMAIN<\/strong>. <br><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"421\" height=\"242\" src=\"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/image-25-1.png\" alt=\"\" class=\"wp-image-6641\"><\/figure>\n\n\n\n<p>4) You can have a list of subdomains that you have created. You can manage them from DirectAdmin &#8211;&gt; subdomain management<\/p>\n\n\n\n<p>That\u2019s it! I hope that now you know how to create subdomains in DirectAdmin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A&nbsp;subdomain&nbsp;is the additional part of your main website that can exist as a new website without a new domain name. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6831,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[],"tags":[],"class_list":["post-9151","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"acf":[],"featured_image_src":"https:\/\/www.youstable.com\/blog\/wp-content\/uploads\/2022\/02\/How-to-create-a-Subdomain-in-DirectAdmin-01.jpg","author_info":{"display_name":"YouStable","author_link":"https:\/\/www.youstable.com\/blog\/author\/youstable"},"_links":{"self":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/9151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/comments?post=9151"}],"version-history":[{"count":2,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/9151\/revisions"}],"predecessor-version":[{"id":13878,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/posts\/9151\/revisions\/13878"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media\/6831"}],"wp:attachment":[{"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/media?parent=9151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/categories?post=9151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.youstable.com\/blog\/wp-json\/wp\/v2\/tags?post=9151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}