{"id":1123,"date":"2021-03-30T17:27:02","date_gmt":"2021-03-30T14:27:02","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=1123"},"modified":"2024-02-06T11:38:49","modified_gmt":"2024-02-06T09:38:49","slug":"what-is-a-subdomain","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/what-is-a-subdomain\/","title":{"rendered":"What is a Subdomain?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><b>Did you know you can use a single domain to create different websites? <\/b><span style=\"font-weight: 400;\">With a subdomain, users can set up multiple websites running simultaneously on the same domain.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Another way to do this is by using subdirectories. However, subdomains are the recommended choice because of their<\/span><b> Search Engine Optimization impact.<\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>What is a Subdomain?<\/b><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">A subdomain is an added part of the domain name, and it helps businesses navigate and categorize their website into multiple sections. Users can create different subdomains on their main domain with ease.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Subdomains come before the domain extension and <\/span><b>the primary domain name<\/b><span style=\"font-weight: 400;\">, and it allows users to set up different websites using one domain. Also, users can use subdomains to launch a forum, support page, or career site, and they can use it to create localized content.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Businesses can use subdomains to set up blogs with different themes, and it allows them to create backlinks to their primary domain to increase authority. Search engines view subdomains as individual sites, thus increasing the chances of users getting more traffic.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>How does a Subdomain work?<\/b><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Everything from mobile phones to websites that<\/span><b> connect to the internet has an IP address<\/b><span style=\"font-weight: 400;\">. The <\/span><a href=\"https:\/\/www.scalahosting.com\/kb\/hosting\/dns\/\"><b>Domain Name System<\/b><\/a><span style=\"font-weight: 400;\"> (DNS) is responsible for connecting users to websites using that IP address. It translates a domain name into its accompanying IP address used to locate and load up a website.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Subdomains, just like domains, are website addresses that the DNS translates into IP addresses. A domain consists of two main parts- the top-level domain(TLD) and the second-level domain (SLD), while the subdomain has a second name before the SLD.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Uses of a Subdomain<\/b><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">How can use a subdomain? It\u2019s not just for building websites on an existing domain. So let\u2019s find out.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>To create an ecommerce store<\/b><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Users use subdomains to run an ecommerce store that complements their primary website. Because ecommerce sites require a complicated setup, most companies prefer to have a separate subdomain for them. Besides, users use subdomains to expand their businesses without spending money purchasing additional domains.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>For Search Engine Optimization (SEO)<\/b><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">With a subdomain, users can organize their website content to simplify the navigation for end-users. The better the customer experience on their website, the higher it will appear on the search engine page. Plus, subdomains enable users to set up backlinks to their main domain to increase their search engine optimization.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>To set up a testing version of a website<\/b><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Developers often use subdomains to test new updates and plugins before putting them live on the internet. Website designs and layouts evolve as time goes by, and subdomains enable users to test their new content structure before publishing on their leading site.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>To target a variety of audiences<\/b><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Businesses use subdomains to target different audiences &#8212; this way, they can get their products or services to the right people. For example, a<\/span><b> furniture business can use different subdomain URLs to focus on different types of customers.<\/b><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>To develop a mobile version of their website<\/b><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Most businesses use subdomains to create mobile-compatible versions of their website. This mobile site version enables companies to please their mobile audiences and increase their reach.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>To create a blog or publish alternate content<\/b><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Subdomains enable users to create any blog while associating it with their main domain. They also help users who want to publish ideas separate from what their website represents.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>How to Create a Subdomain<\/b><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">A domain is needed to set up any subdomain, and once users purchase a domain, they have the rights for the subdomain. With the ScalaHosting platform,<\/span><b> users can create a subdomain with ease.<\/b><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Usually, your hosting account comes with a control panel that allows you to create a subdomain. The steps vary from management platform to management platform, but they should generally follow the same structure. Here&#8217;s how to do it on ScalaHosting&#8217;s SPanel VPS solutions:<br><\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Log into SPanel&#8217;s User Interface and click the&nbsp;Subdomains icon.<\/strong><br>The default login URL is https:\/\/yourdomain.com\/spanel (make sure you substitute yourdomain.com for your actual domain). The <strong>Subdomains<\/strong> icon is located on SPanel&#8217;s homepage. <\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full mpg-gallery\"><img decoding=\"async\" width=\"871\" height=\"239\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/293.png\" alt=\"What is a Subdomain?, How to Create a Subdomain\" class=\"wp-image-3770\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/293.png 871w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/293-300x82.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/293-768x211.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li><strong>Enter a valid subdomain.<\/strong><br>You will see a drop-down menu with all the domains added to your account. You first need to pick the parent domain and then enter a valid subdomain. Subdomains can consist of letters, numbers, and hyphens. <\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full mpg-gallery\"><img decoding=\"async\" width=\"867\" height=\"451\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/294.png\" alt=\"What is a Subdomain?, How to Create a Subdomain 2\" class=\"wp-image-3771\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/294.png 867w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/294-300x156.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/294-768x400.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Select a document root and save the changes.<\/strong><br>Finally, you&#8217;ll need to select the folder for the files accessible under the subdomain (the document root). By default, SPanel is designed to create a folder inside your account&#8217;s home directory, but you can choose a custom one using the field below the subdomain. When you&#8217;re ready, click the <strong>Create Subdomain<\/strong> button. <\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full mpg-gallery\"><img decoding=\"async\" width=\"867\" height=\"451\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/295.png\" alt=\"What is a Subdomain?, How to Create a Subdomain 3\" class=\"wp-image-3772\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/295.png 867w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/295-300x156.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/03\/295-768x400.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Subdomain Vs. Subdirectory<\/b><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Subdomains and subdirectories both achieve the same end-goal \u2014<\/span><b> setting up multiple websites within a single domain<\/b><span style=\"font-weight: 400;\">. However, search engines view both of them differently&#8211; they view a subdomain as a different website and view subdirectories as files under the main domain.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><b>Small businesses with limited resources can opt for subdirectories.<\/b><span style=\"font-weight: 400;\"> On the other hand, companies with resources can use subdomains for multiple uses. <\/span><a href=\"https:\/\/www.scalahosting.com\/domain-names.html\"><span style=\"font-weight: 400;\">&nbsp;ScalaHosting<\/span><\/a><span style=\"font-weight: 400;\"> offers users free DNS management, Email forwarding, and Domain forwarding when they register their domain names.<\/span><\/p>\n\n\n\n<p class=\"youtube-player wp-block-paragraph\" id=\"qwGE9xz5eb8\">How To Point a Domain Name To a Web Hosting Provider<\/p>\n\n\n\n<script type=\"application\/ld+json\">\r\n    {\r\n        \"@context\": \"https:\/\/schema.org\",\r\n        \"@type\": \"VideoObject\",\r\n        \"name\": \"How To Point a Domain Name To a Web Hosting Provider\",\r\n        \"description\": \"You can actually buy web hosting and domain name from different providers and just link these two things together. In this video we'll show you exactly how.\",\r\n        \"thumbnailUrl\": [\r\n            \"https:\/\/i3.ytimg.com\/vi\/qwGE9xz5eb8\/maxresdefault.jpg\"\r\n        ],\r\n        \"uploadDate\": \"2022-04-12\",\r\n        \"duration\": \"PT3M45S\",\r\n        \"embedUrl\": \"https:\/\/www.youtube.com\/watch?v=qwGE9xz5eb8\"\r\n    }\r\n<\/script>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.scalahosting.com\/whois.html?utm_source=scalahosting-internal-link&amp;utm_medium=banner&amp;utm_campaign=whois-referral&amp;utm_id=whois-referral\"><img decoding=\"async\" width=\"600\" height=\"100\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/07\/whois_banner_horizontal.png\" alt=\"What is a Subdomain?, Subdomain Vs. Subdirectory\" class=\"wp-image-4915\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/07\/whois_banner_horizontal.png 600w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/07\/whois_banner_horizontal-300x50.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Whois Lookup<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"none","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"both","_seopress_redirections_param":"","_seopress_redirections_type":301,"_seopress_analysis_target_kw":"","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"footnotes":""},"categories":[22],"tags":[],"class_list":["post-1123","post","type-post","status-publish","format-standard","hentry","category-dns"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=1123"}],"version-history":[{"count":9,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1123\/revisions"}],"predecessor-version":[{"id":5708,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1123\/revisions\/5708"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=1123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=1123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=1123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}