How to Create a Subdomain and What is It? And In-Depth Guide

how-to-create-a-subdomain

If you already own a website and want another one - there's actually no need to get an additional domain. A lot of website owners believe that one domain can house one website but that's not the case. Using subdomains is a practical way of having several sites on one domain.

In this post, I'll talk about what exactly a subdomain is and how to create them.

What Is a Subdomain?

Before jumping to creating a subdomain, it is important to understand what exactly it is. In simple terms, a subdomain is an extension of an already existing domain. For example, if you own www.yoursite.com, you can add a subdomain www.tutorials.yoursite.com. In this instance, 'tutorials' is a subdomain. 

how to create a subdomain hostinger featuresAdditionally, there are multiple subdomain levels, for example, www.info.tutorials.yoursite.com. 

A subdomain functions as a separate site but the users still see that it's related to the main domain. Because of that, they are a great tool for sectioning a website that has a lot of content.

Many companies have 'help', 'tutorials', 'contacts' and similar subdomains to separate these sections.

How many subdomains you can create depends on your provider and the pricing plan you're using. For example, Hostinger offers 2 subdomains on the cheapest plan and 100 on Premium and Business plans.

These numbers, of course, vary between different providers. So, before creating a subdomain, check how many you can have with your current plan.

How To Create A Subdomain

Subdomain creating process varies depending on what web hosting control panel your provider uses.

For the sake of this tutorial, I will use cPanel as it's the most common control panel among hosting providers. However, you can follow these steps even if your hosting company offers a different panel as the process is similar.

Here's how to create a subdomain:

1. Find 'Subdomain' section on your cPanel dashboard
2. Fill out the subdomain information
3. Upload files to your subdomain

1. Find 'Subdomain' section on your cPanel dashboard

The first step is to access your cPanel dashboard. To reach it, log in to your hosting provider's account. 

how to create a subdomain cpanel

Once you’ve logged in, head to the subdomain section of the web hosting control panel and click on 'Subdomains'. 

2. Fill out the subdomain information

how to create a subdomain create a subdomainUnder 'Subdomains' you will be asked to fill out the basics.

In the 'Subdomain' field, write the subdomain of your choosing. Remember, this is the part that will come right after the www.

If you own more than one domain, choose under which the subdomain will be placed.

You can do that by clicking on the 'Domain' field and choosing the right one from the drop-down menu.

The 'Document Root' field will be automatically filled when you fill out the information. This address is the root directory of your subdomain. That's a folder that stores all the content of the subdomain and that's where you should upload all the files

That's it! You have created a subdomain! You can instantly reach it by the address you've chosen.

3. Upload files to your subdomain

how to create a subdomain file managerAs mentioned, all the subdomain files should be placed in the document root folder.

You can find it under File Manager on cPanel's dashboard. Usually, the folder will be placed under 'public_html' category.

To upload files, click the 'Upload' button. Successfully uploaded files will be visible in the folder.

Why Should I Create a Subdomain?

A core advantage of using subdomains is that they allow you to have different themes, content, and even concepts on one domain. By storing information under subdomains, you will avoid too much clatter on a single site.

It's worth mentioning that a separate subdomain may host different software altogether. If your main domain is a WordPress site, let's say, the subdomain could be a message board or a learning platform. So, subdomains really increase the website's functionality.

Additionally, that's a very cost effective way of owning several websites while paying only for one domain name.

From a marketing perspective - search engines identify each subdomain as an independent website. This might be useful for increasing the traffic to your website.

How to Create a Subdomain: Final Thoughts

All in all - subdomains are easy to set up, delete when they're no longer needed, and have practically no downsides. If you believe that they will help you structure your site better - give them a try.

Do you take advantage of subdomains? Or you think that your main domain is enough for your website? Comment down below.

An experienced content professional with a creative mind. If I'm not writing, you can probably find me in the backyard playing with dogs or at some weird art show.

Leave a Comment

Get new blog posts by email: