How to create a subdomain

What is a subdomain and how to create it?

What Is A Subdomain?

A subdomain is a smaller part of our larger domain. Let’s understand this concept with an example. Here www.techrepaper.com is our website which is a complete level domain, it’s containing 3 parts which are 1. www, 2 techrepaper, 3 .com.

We will understand the concept from 3rd part to 1st part.

.Com : The part which appears right to the last dot(.) in our website is called Top Level Domain(TLD). This is also called domain extensions, in our example .com is TLD, There are several types of TLD’s like .net, .org, .gov.

techrepaper: This is a part that occurs immediately in front of last dot(.) is called a Second Level Domain(SLD), In our example techrepaper is our website name which is a SLD.

Let’s get into our main topic which is subdomain.

www: The part which comes before the first dot(.) is called a Sub Domain. We don’t really need to use this www, we can replace it with any word like blog, store, offers.

Why we need to create a subdomain?

A subdomain is needed when we want to work on different niches in the same website. Suppose our website is related to technology and now I want to publish news related to technology and mix of some other categories. Then I can create a subdomain like news.techrepaper.com without going for a new domain.

Now ,

How we can create a subdomain and install wordpress onit?

Now I would like to run the same website in two different languages. My main website will be on English and a subdomain in Telugu language. So, I need to create a subdomain called telugu.techrepaper.com

Please follow the steps carefully to create a subdomain without any issue.

The first step is we need to login into our cPanel and go to the section called DOMAINS and click on subdomains as shown below.

what is a subdomain
subdomain free
how to create subdomain in cpanel
how to create subdomain
wordpress multisite
Create subdomain and install wordpress
Install wordpress on subdomain

You will get a page to create a subdomain enter the name for your subdomain and click on create as shown in below image

what is a subdomain
subdomain free
how to create subdomain in cpanel
how to create subdomain
wordpress multisite
Create subdomain and install wordpress
Install wordpress on subdomain

Now you can see our subdomain is created.

what is a subdomain
subdomain free
how to create subdomain in cpanel
how to create subdomain
wordpress multisite
Create subdomain and install wordpress
Install wordpress on subdomain

Now we need to install wordpress on this subdomain. To install the wordpress we need to go back to our cPanel and search for SOFTACULOUS APPS INSTALLER and click on wordpress in that as shown below.

what is a subdomain
subdomain free
how to create subdomain in cpanel
how to create subdomain
wordpress multisite
Create subdomain and install wordpress
Install wordpress on subdomain

Now click on install as shown below.

After that you get a screen like below in that select your subdomain from
Choose Domain and remove wp from In Directory(Mandatory). Also change your site name, description, Admin user name and password as shown below.

what is a subdomain
subdomain free
how to create subdomain in cpanel
how to create subdomain
wordpress multisite
Create subdomain and install wordpress
Install wordpress on subdomain

After doing all these scroll down and select a theme and click on install as shown below,

Now open your subdomain in a new window, you may get screen like below but don’t worry subdomain take few hours to get activated some times. If it’s not activated in few hours once Email your hosting provider that please active my subdomain then they will activate.

what is a subdomain
subdomain free
how to create subdomain in cpanel
how to create subdomain
wordpress multisite
Create subdomain and install wordpress
Install wordpress on subdomain

The above steps are enough to create subdomain if you are not using
Cloudflare service.

But if you are using Cloudflare service you need to do one more step. Login to your Cloudflare account.

Click on DNS and add your subdomain as shown in image. Follow the steps shown below.

what is a subdomain
subdomain free
how to create subdomain in cpanel
how to create subdomain
wordpress multisite
Create subdomain and install wordpress
Install wordpress on subdomain

That’s all your subdomain will get added in the Cloudflare. After few hours it will get activated.

If you have any doubts or if you face any issues please comment below.

Leave a Comment