What Is a Subdomain?
A subdomain is an extension of your area that helps you arrange content material and increase what you are promoting choices.
It means that you can create standalone pages or features, reminiscent of a weblog or on-line retailer.
Understanding URL Construction
Your URL has a number of components. The protocol (HTTP or HTTPS) comes earlier than the subdomain. That is the file path that transfers knowledge from an internet server to your browser so it may well load the web site.
The basis area comes after the subdomain. It’s made up of two components:
- The second-level area (SLD) is the title of your web site (sometimes your model or enterprise title)
- The top-level area (TLD) is the tip of your area. For instance, “.com” or “.org”

The most typical subdomain is “www” or “world large internet.” The subdirectory factors customers to the primary listing of a web site—in different phrases, the place your homepage and different core pages stay.
Different subdomains work to create distinct components of a website.
For instance, Google’s root area is www.google.com. That is the handle folks sort right into a browser search bar to entry Google search.
Over time, Google has grown to incorporate a full suite of merchandise unbiased of its search engine. To maintain these separate, Google makes use of subdomains reminiscent of docs.google.com for Google Docs and adverts.google.com for Google Advertisements.

Utilizing subdomains retains Google’s search engine free from the distraction of different merchandise. The shortage of hyperlinks and unrelated content material lets Google focus guests’ consideration on search, which is in the end what they’re there for.

Subdomains create a separate identification, and supply a possibility to create a singular web site inside a web site.
For instance, Google Docs and Google Advertisements are distinctive merchandise. A subdomain lets Google use a unique design and content material construction to create a transparent distinction between them (and different merchandise).

Google markets subdomains independently whereas holding them beneath the umbrella of the first area that customers know and belief.
Subdomains vs. Subdirectories
Subdomains and subdirectories are each smaller subsets of a root area that allow you to arrange web site content material.
However there are distinct variations.
- A subdomain acts as one other web site that may use a unique design or interface from the primary area
- A subdirectory is a folder that sits inside a site
Say you run a web-based pet meals retailer and wish to add a weblog to offer your viewers tips about feeding their pets a healthful food plan.
You possibly can add your weblog as a subdirectory by creating a brand new web page in the identical approach you do for a services or products.
The weblog turns into a folder inside your main area. This implies it makes use of the identical design and content material administration system (CMS) as the remainder of your web site.
When a consumer clicks via to your weblog, the URL will seem like this: www.mypetstore.com/weblog
Now, let’s say your purpose for making a weblog is to concentrate on one other space of what you are promoting. For instance, pet conduct coaching. The content material is completely different from what’s in your predominant website, so it is sensible to maintain it separate.
Making a subdomain enables you to create a weblog on a unique CMS (e.g., WordPress) with its personal interface.
Your weblog now sits outdoors of your predominant area and the URL appears like this: weblog.mypetstore.com
A subdomain at all times sits earlier than the foundation area within the URL. A subdirectory at all times sits after.
One other slight distinction between the 2 is how they have an effect on the nested construction of your website.
With a subdirectory, you’ll be able to add subfolders to the primary folder that time to completely different classes. For instance, www.mypetstore.com/weblog/pets after which www.mypetstore.com/weblog/pets/canines.
As a result of a subdomain acts like a root area, you’ll be able to add subdirectories to your subdomain to arrange pages.
For instance, adverts.google.com has “dwelling” as a subdirectory. This helps to arrange succeeding pages. On this case, “the way it works” follows the subdirectory and creates a transparent path that flows from subdomain touchdown web page to subdirectory to content material.

This URL construction promotes straightforward navigation for customers and search engines like google and yahoo.
Ought to You Use a Subdomain or Subdirectory?
Subdomains are greatest for content material that’s too distinct out of your predominant web site. For instance, if the subject has a unique function or requires a selected CMS or design.
The clear separation prevents consumer confusion and stops you from sending combined messages to search engines like google and yahoo about your content material.
Subdirectories are greatest for content material that’s related to your predominant web site.
For instance, in case your web site is www.mypetstore.com, it is sensible to put pet food in a subdirectory (e.g., www.mypetstore.com/dog-food) because it suits with the primary website.
When to Use Subdomains
Subdomains give webpages a singular identification whereas holding them a part of your predominant web site. There are a couple of cases in which you’ll profit from utilizing them:
Making a Weblog
In case your goal weblog matters and key phrases don’t relate to the remainder of your web site, utilizing a subdomain enables you to have interaction guests with completely different content material.
For instance, Fiverr’s predominant web site focuses on its market of freelancer companies.
Its weblog is a separate entity that options a wide range of matters, reminiscent of firm information and enterprise suggestions. Fiverr hosts its weblog on a subdomain, as seen within the screenshot beneath.

This permits Fiverr to arrange its predominant website across the market and develop its content material advertising and marketing with out distracting from its central promoting level (freelancer companies).
Including an Ecommerce Retailer
A subdomain means that you can add ecommerce performance to a web site. It additionally enables you to maintain your merchandise retailer separate out of your predominant providing.
Say your web site began as a weblog, however you’ve grown your viewers to the purpose of promoting merchandise to monetize it.
With a subdomain, you’ll be able to create a web-based retailer utilizing an ecommerce platform (e.g., including Shopify or WooCommerce as a subdomain of a WordPress weblog).
Hubspot, for instance, is an inbound advertising and marketing platform that has expanded to supply a variety of branded attire.

A subdomain permits the corporate to market merchandise and course of transactions with out having to vary the code or performance of its predominant website. It might additionally promote attire with out distracting from its predominant provide (advertising and marketing software program).
Testing or Constructing a New Web site
Subdomains allow you to check a brand new model of an present web site or particular person pages earlier than they go stay. So you’ll be able to trial new options and repair bugs with out affecting the performance of the present website.
In addition they present staging platforms for brand new web sites. For instance, Squarespace’s web site builder hosts newly created websites on a separate subdomain.

With this, customers can construct a web site at no cost earlier than committing. After a free trial ends, they will signal as much as a Squarespace plan and both purchase a site or go away the positioning on the subdomain.
Optimizing for Cellular
Many new small enterprise web sites are responsive out of the field in order that content material adapts to every consumer’s chosen gadget (e.g., cell, pill, desktop, and many others.).
However in case you’re including cell performance to an present web site constructed for desktop, a devoted cell subdomain makes it simpler to create a tailor-made expertise. With out having to overtake your total website.
Fb, for instance, defaults to the m.fb.com subdomain for customers visiting on a cell browser.

As an alternative of merely cutting down its desktop website, Fb makes use of a subdomain to create a mobile-specific model. The positioning mimics the performance of its app for simple scrolling, tapping, and typing.
This removes the potential frustration of customers attempting to navigate a desktop website on a smaller display screen, and creates a constructive consumer expertise.
It additionally means Fb retains code for the 2 variations of the positioning separate. Growth groups can work on the cell website with out worrying concerning the impact of modifications on one other platform.
Concentrating on New Clients or Enterprise Targets
A subdomain enables you to create content material for targets or audiences that differ out of your predominant web site.
Take Lyft. Its trip.lyft.com subdomain homepage is for customers who wish to get a trip.

However this web page isn’t related to guests who wish to be taught extra concerning the firm’s self-driving automobiles.
For this viewers, Lyft makes use of a unique subdomain touchdown web page.
This manner, it retains completely different components of the enterprise organized. Customers who wish to e book a trip don’t land on the positioning to find out about autonomous automobiles (and vice versa).
On autonomous.lyft.com, Lyft goes into element on its know-how with out distracting from the purpose of securing bookings.

Including a Assist Heart or Discussion board
An in-depth product warrants detailed assets to assist customers benefit from it. The place an FAQ part can’t reply all the questions a buyer may need, a subdomain creates a devoted platform with its personal navigation construction.
Take Shopify’s Assist Heart. It offers customers all the pieces they should get began, troubleshoot issues, and develop their enterprise.

By holding domains separate, Shopify can dedicate its predominant website to changing potential prospects, whereas optimizing its subdomain round key phrases for present ecommerce customers (e.g., “Find out how to add merchandise to a retailer” or “Utilizing Shopify widgets”).
Reaching Worldwide Audiences
If what you are promoting is increasing right into a new nation, a subdomain extension offers you an area to create content material particular to the brand new viewers.
For instance, Yahoo! Information makes use of ca.yahoo.com to curate information for Canadian readers and au.yahoo.com for readers in Australia.

This helps Yahoo! seem extra related and bonafide to completely different audiences. Content material is respected and curated from revered native sources, which supplies readers extra purpose to belief it as a information supply.
You possibly can create as many subdomain extensions as you want at no cost once you personal your area title.
This makes it a cheaper methodology of reaching completely different audiences than shopping for country-specific domains (e.g., mywebsite.ca, mywebsite.au, and mywebsite.fr).
You can too use subdomains to accommodate completely different languages. Wikipedia, as an example, makes it straightforward for customers to search out data of their native tongue with devoted subdomains.
For instance, fr.wikipedia.org is for French audio system and ja.wikipedia.org is for Japanese audio system.

Are Subdomains Good for Search Engine Optimization (search engine marketing)?
A well-optimized subdomain may be as useful for search engine marketing, similar to some other a part of your web site.
Why?
As a result of Google understands that subdomains are half of a bigger area and may see the connection between the 2.
Google bots can discover and index pages on a subdomain in the identical approach they do on a subdirectory.
Subdomains even have a number of benefits when it comes to what Google appears for in an authoritative web site.
With a subdomain, you’ll be able to:
- Transfer content material away from the litter of your predominant website for simple navigation
- Attain a wider viewers by focusing on worldwide markets or completely different matters
- Develop authority in area of interest markets by going into element on completely different topics
- Goal completely different key phrases with out distracting from the primary function of your web site
Folks can simply discover related content material on a subdomain. This helps create a constructive consumer expertise and will increase engagement.
The extra time guests spend in your website, the extra Google sees it as respected and beneficial.
The consequence?
Pages that Google prioritizes in search rankings.
So does this imply subdomains are a greater possibility than subdirectories for search engine marketing?
That is topic to debate.
Subdomains vs. Subdirectories for search engine marketing
Many SEOs favor subdirectories over subdomains.
It is because subdirectories profit from the authority of the primary area.
After they sit in your web site, new pages reap the rewards of the onerous work you’ve put into incomes backlinks and optimizing your present content material.
The authority out of your hottest web site pages filters all the way down to the subdirectory, and means that you can obtain increased rankings and natural search efficiency faster than a subdomain.
Why?
As a result of with a subdomain, you’re ranging from scratch.
Though Google acknowledges {that a} subdomain is part of your main area, it sees it as a separate web site.
This implies the subdomain doesn’t profit from the primary web site’s authority and vice versa.
As Google’s John Mueller explains:
You’ll have to confirm subdomains individually in Search Console, make any modifications to settings, and monitor total efficiency per subdomain… We do need to learn to crawl them individually, however for probably the most half, that’s only a formality for the primary few days.
The video is from 2017, however the recommendation continues to be related right this moment.
Primarily, it’s a must to optimize a subdomain as if it’s a unique web site, which suggests engaged on a clean canvas. With no authority to leverage, seeing constructive outcomes will take longer.
And once you do ultimately obtain excessive rankings to your subdomain, the separation means it received’t present a lift to your main website like good web site optimization of a subdirectory will.
What it can do, nevertheless, is develop total model visibility and drive site visitors to completely different components of what you are promoting.
For that reason, subdomains are greatest used for search engine marketing when content material is completely different from the remainder of your website, however you wish to affiliate it together with your model (e.g., Lyft’s autonomous automotive subdomain).
This allows you to optimize for brand new key phrases to safe site visitors from a selected viewers.
What you don’t wish to do is have a subdomain focusing on the identical key phrases as your predominant website. In case you do, you run the chance of cannibalizing key phrases and competing towards your self in search outcomes.
This may end up in your subdomain pulling guests away out of your predominant web site, which can be higher set as much as convert them.
Find out how to Create a Subdomain
You possibly can add a brand new subdomain to your root area by way of the dashboard of your internet hosting supplier.
The way you do that will differ barely relying in your hosting interface, however the course of is generally the identical throughout platforms.
We’ll use IONOS for example.
First, log in to your account and entry your area settings management panel (CPanel).
For IONOS, go to “Domains & SSL” and click on in your main area title. From the “Area Particulars” web page, click on on “Subdomains” > “Create Subdomain.”

Kind the title of your subdomain prefix.
Preserve this associated to the kind of subdomain you wish to create. For instance, “Store” so as to add an ecommerce website or “Assist” for a assist heart.
In case you’re making a subdomain to focus on a brand new language, use the right nation code top-level area (ccTLD). You’ll discover a full checklist of those on the World Requirements web site.
This helps forestall confusion for customers. It additionally makes it simpler to maintain content material organized for search engine marketing evaluation and auditing.

While you’re blissful together with your subdomain title, click on “Save.”
That’s it. Your internet hosting supplier provides the subdomain to your area title system (DNS) settings.
It might take as much as 48 hours to your area registrar to totally implement the subdomain. In any other case, you’re good to go.
Your new area will seem beneath “Subdomains” in your area title system (DNS) settings.
Optimize Your Subdomains with Semrush
For search engine marketing functions, it’s a must to deal with a subdomain as one other web site that you simply optimize alongside your main area and subdirectories. Semrush has a number of instruments to ease your workload.
Natural Analysis
Natural Analysis stories let you know about your root area’s prime natural rivals and what key phrases they get site visitors from.
Use this to grasp how different manufacturers in your business carry out properly in search and what alternatives there are so that you can compete on particular key phrases.
To start out, sort your competitor’s subdomain into the Natural Analysis search bar, select your area. Then hit “Search.”

Additional studying: Natural Analysis Overview
Place Monitoring
Place Monitoring enables you to measure the influence of your subdomain content material in every day search rankings.
Use this to be taught which pages get probably the most site visitors to your goal key phrases and spot pages that want enchancment.
This can make it straightforward to prioritize the place to focus your time and power to spice up your search engine marketing.
To research your subdomain key phrases, sort your main area into the Place Monitoring search bar, then click on “Arrange monitoring.”

Within the configuring setup, click on “as Root area.” Choose “as Subdomain” and enter your subdomain URL.

Select your location and click on “Proceed to Key phrases.”
Subsequent, enter the key phrases you wish to monitor and click on “Add key phrases to marketing campaign.”
Go away the field checked to obtain weekly efficiency updates. Hit “Begin Monitoring” and Semrush will collect your key phrase knowledge.

Additional studying: Place Monitoring Overview
Web site Audit
Web site Audit crawls your subdomain to research its well being and flag any points hampering search efficiency.
Use this to see the place your subdomain is struggling and be taught which issues to repair to enhance your search engine marketing.
Kind your main area into the Web site Audit search bar. Then, hit “Begin Audit.”

Within the “Configure primary settings” tab of the Web site Audit Settings pop-up, click on the pencil icon subsequent to “Crawl scope.”
Change your area title to your subdomain. Then, hit “Replace.”

If you wish to make your audit extra particular, you’ll be able to customise the restrict of pages to verify, and permit or disallow URLs in Step 3 of the setup. In any other case, the software is already configured.
Click on “Begin Web site Audit” and the software will scan for greater than 140 frequent points, ranked by precedence and significance.
Additional studying: Find out how to Carry out a Full search engine marketing Audit
Use Subdomains to Interact Completely different Audiences
In case you’re diversifying your provide or increasing into new markets, a subdomain creates an extension of your predominant website you could customise for a selected viewers.
Including a subdomain is a straightforward activity, however keep in mind that you want to method web site optimization from the bottom up with a purpose to dominate the natural search outcomes to your goal key phrases.
Use Semrush’s Natural Analysis, Place Monitoring, and Web site Audit instruments together with present search engine marketing greatest practices to enhance your subdomain’s rankings and natural site visitors.