WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Glossary» S» Subdomain

What is: Subdomain

0 Shares
Share
Tweet
Share
Pin

A subdomain is an additional part to your main domain name. Subdomains are created to organize and navigate to different sections of your website. You can create multiple subdomains or child domains on your main domain.

For example:

store.yourwebsite.com

In this example, ‘store’ is the subdomain, ‘yourwebsite’ is the primary domain and ‘.com’ is the top level domain (TLD). You can use any text as your subdomain, but you want to make sure it’s easy to type and remember.

What is Subdomain

There are different reasons companies use subdomains. Let’s look at some top use cases of a subdomain.

Use Cases of Subdomain

The most common use-case of a subdomain is for creating a testing or staging version of a website. Often developers will test new plugins and updates on a subdomain staging site before publishing them live on the Internet.

Another common use of a subdomain is to create an online eCommerce store. Often companies want a separate subdomain to handle transactions because eCommerce sites typically require a more complex set up.

We have also seen companies use subdomains for their mobile websites (m.yoursite.com), location-specific sites (uk.yoursite.com), and creating sub-sections of the website.

You can install WordPress on your subdomain, and it will work as a separate installation from your main website.

You can use a subdomain to serve a specific group of users on your site like ‘guest.yourwebsite.com’, ‘user.yourwebsite.com’, and more. This is how website builder platforms like WordPress.com, blogger.com, and others offer custom websites to users.

Subdomains can be very useful in organizing your website content more efficiently. The right use of a subdomain does not affect your main website’s SEO. However, when in doubt, we recommend keeping everything on the same domain and avoid using a subdomain for public sites.

How to Create a Subdomain

You can easily create a subdomain in your domain registrar or your WordPress hosting account. In this example, we will create a subdomain using our hosting company Bluehost, but the process is similar in all platforms.

To create a subdomain in Bluehost, you must log in to your web host account. Then click on the “Domains” tab on the left. This will open a submenu with several options.

Create Subdomain

Now, click on the “Subdomains” tab on the list.

Create Subdomain 2

The field on the right contains your domain name. You will not have to change anything if you only have one domain on your web hosting account. If you have more than one domain, then it will be listed in the drop-down menu. In our example, we only have one domain, “yourdomain.org”.

Next, type a name for your new subdomain in the field on the right. You can enter things like blog, gallery, store, or whatever you want to use. For this example, we will use “demo”.

Once you’ve typed in the name for your subdomain, click the “Create” button.

Create subdomain 3

You will immediately see your new subdomain at the bottom of the screen. Your subdomain address will now appear on the front of your domain name. Using our example, it changed from “yourdomain.com” to “demo.yourdomain.com”. Notice that your new subdomain fills in automatically on the home folder field for your subdomain.

Congratulations! You’ve just created your first subdomain.

Create subdomain 4

Subdomains vs Subdirectories for SEO

Search engines view subdomains and subdirectories differently. Let’s look at why this is true, and how using a subdomain vs a subdirectory affects SEO.

Subdomain vs subdirectory for SEO

Subdomains are seen by Google and other search engines as a different website. This means that search engines must crawl and index each subdomain separately.

It is important to remember that the “link juice” created from backlinks to your main site are not shared between your domain and subdomains. Building page rank for keywords for a subdomain is just as difficult as it is for an entirely separate website.

You should only use subdomains if you have a good reason to do so. For example, you can use subdomains to rank for different keywords, target a specific market, or reach a different location or serve a language other than that of your main website.

Subdirectories are files found under your primary domain. Google and other search engines do not see subdirectories as separate sites, so “link juice” and SEO are shared between your domain and subdirectories.

For bloggers, startups, or small businesses with limited time and resources, using subdirectories will help you rank your website faster than using a subdomain.

Additional Reading

  • What’s the Difference Between Domain Name and Web Hosting (Explained)
  • How to Install WordPress in a Subdirectory (Step by Step)
  • How to Easily Move WordPress to a New Domain (without Losing SEO)
  • How to Choose the Best Domain Name (14 Tips and Tools)
0 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
RafflePress - WordPress Giveaway and Contest Plugin
RafflePress
Giveaway and Contest Plugin for WordPress. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 25 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2019 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2019)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2019)
    • SiteGround Reviews from 1032 Users & Our Experts (2019)
    • Bluehost Review from Real Users + Performance Stats (2019)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • 7 Best CRM Software for Small Businesses (Compared)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2019 – Step by Step Guide
Deals & Coupons (view all)
Pretty Links
Pretty Links Pro Coupon
Get 15% OFF on Pretty Links Pro WordPress URL shortener and affiliate links cloaking plugin.
InMotion Hosting
InMotion Hosting Coupon
Get 50% off InMotion Business Class Hosting and a Free Domain.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress

Copyright © 2009 - 2019 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by HostGator | WordPress CDN by MaxCDN | WordPress Security by Sucuri.