Jan 18, 2020

What is a Subdomain? And How to Create One?

What is a subdomain?’ you may ask. Well, the most popular definition is ‘a subset of a larger domain name’. But that doesn’t sound very much like English, does it?
Let’s make it easier to grasp with an example. First, a standard domain name:
About Domain Name, Domain Name Tips and Tricks, TLD, SLD, Domaining,

As you can see, a normal domain name has a couple of components to it. The two most significant ones are:
  • TLD — Top Level Domain — which is also commonly referred to as a domain extension. This part is your familiar .com, .net, .org or whatever else your domain extension is.
  • SLD — Second Level Domain — which is the part you get to choose when registering your new domain name, and is your unique domain name identifier.
Now, here’s the answer to your question, ‘What is a subdomain?’

At face value, it’s very similar. The core difference with it is the one additional word to the left of the domain’s SLD (in our example, blog). That additional part is your subdomain identifier.
So, a subdomain is sort of a domain name that’s part of a larger domain name. Or, as some people like to call it, a subdomain is a child domain of a larger parent domain.
Two questions with that: Why and how?
Let’s start with the former:

Why You May Need a Subdomain

‘What is a subdomain?’ is one thing, but why would you need one?
The most common scenario in which a subdomain is used is to organize or divide web content into sections. Meaning subdomains are great when you want to build a separate catalog of content to serve a different purpose from what’s on your main domain.
In practice, creating a new subdomain usually involves launching a new website on that subdomain — a website that’s more or less separate from your main site (the one under your main domain).
Here are some popular examples of what subdomains are used for:
  • Launching a separate ecommerce store that’s not within your main website. For example, ‘Joe’s Winery’ may want to make their store available under store.joeswinery.com, while their main website remains at joeswinery.com.
  • Launching a blog at blog.YOURDOMAIN.com.
  • Launching a forum for your customers or audience to interact with each other at forum.YOURDOMAIN.com.
  • Creating an additional language version of your website at es.YOURDOMAIN.com.
  • Creating subsections of your website for different segments of visitors based on their location. For example, if you try visiting Craigslist while in Philadelphia, you will be automatically redirected to philadelphia.craigslist.org.
These are just some of the possibilities, and this distinct nature of subdomains makes them perfect for creating new websites that appear as though their addresses are original.
The idea is to use subdomains only when you have enough content to populate each of them. Or, alternatively, when you have content or parts of your business that deserve a space of their own — for example, Nike has a whole separate section devoted to careers at jobs.nike.com.
Overall, using subdomains in situations such as the above makes things clearer for the visitor. For instance, they’ll know that store.YOURDOMAIN.com is where they can purchase your products.
Lastly, when you no longer need the subdomain, you can just shut it down with a couple of clicks and redirect all traffic to your primary domain.

How to Create a Subdomain

Once you have a standard domain name registered, there are two parts to the process of creating a new subdomain:
  1. Coming up with a subdomain that you want to create.
  2. Enabling it and then redirecting it to a new website of yours (or to a third party).
No. 1 is the simpler stage. Basically, all you need to do is come up with a short subdomain that fits your purpose.
In general, the subdomain can consist of any number of alphanumeric characters (a-z, A-Z, 0-9) and hyphens (permitted if surrounded by other characters or digits), with no spaces. But this varies with different domain registrars, so it’s best to double check with yours.
Alternatively, you can go for one of the popular subdomains, such as the ones mentioned above: Store, blog, languages (such as es), locations (such as philadelphia), forum, events, community, help, news and jobs.
No. 2 can be a bit more tricky. That’s because to carry the process through, you not only need to enable the subdomain itself, but also point it somewhere on the web. That somewhere can be:
  • a section of your existing website
  • a completely new website of yours
  • a third-party website or URL.
The exact steps tend to be different depending on your domain registrar and/or web host. One thing’s for certain, though: Things are going to be much easier if you’re with the same company for both your domain name and hosting (we talk about that here). This is because you can usually do all the setting up within a single user panel, whereas when you have your domain and hosting handled by separate companies you need to go through the required motions with each.
Here are some links that point to specific how-tos based on where you have your domain name registered:
Lastly, here are some FAQs around the topic of subdomains:

FAQs Related to ‘What Is a Subdomain?’

‘What’s the difference between a subdomain and a domain name?’
  • A domain name is your website’s main address on the internet (e.g. YOURDOMAIN.com).
  • A subdomain is a ‘child domain’ name that’s under the ‘parent domain’ name (e.g. blog.YOURDOMAIN.com). You can’t have a subdomain without a main domain name above it.
‘Do I need to buy a domain name to be able to set a subdomain?’
  • Yes. You can only create a subdomain under a standard domain name that you already own.
‘How many subdomains can I create for my main domain name?’
  • This depends on your domain registrar. With GoDaddy, for example, you can create up to 100 subdomains per domain name.
‘Do I need to pay for new subdomains?’
  • Most commonly, no, but this depends on your domain registrar.
‘Can I create a separate, new website on a subdomain?’
  • Yes. This is actually the most common scenario.
‘Can I point a subdomain to an individual piece of content on my current website?’
  • Yes. This is potentially a great way to put a spotlight on your most important pieces of content.
Is ‘www’ a subdomain?
  • Technically, yes. But it’s a special type of subdomain that usually points to the exact same website as the main domain name. For example, www.aboutDN.com is the same as aboutDN.com.
So there you have it! That’s our answer to what a subdomain is and how to create one. If you need anything clarified, don’t hesitate to hit us up in the comments. Also, if you want to learn more about domain names, check out our other posts in this series.

No comments:

Post a Comment