Hi, this is Digital Abhi, your digital marketing friend, and a contented digital marketer. In this post, I will share how to create a subdomain and install WordPress on it.

What is a Subdomain?

Before starting, first we need to know what is a subdomain? A subdomain is just a subcategory or a smaller part or a part of your main domain name. So, how does a subdomain look like or sound like?

Let’s say I have a domain name abc.com. So, a subdomain of this abc.com will be something like, xyz.abc.com or demo.abc.com or anything.abc.com. Just put anything or any word before the main domain name like xyz.abc.com, that will be your subdomain.

To create a subdomain you will need a CPanel. A CPanel is provided by your hosting provider. I would suggest you use Bluehost or Namecheap. I have tried both of them and both of these are really good.

Now, since you know all the necessary information. So, now let’s see how to create a subdomain.

How to Create a Subdomain?

To help you understand better, I have attached a video here. I will highly recommend you watch this video as it is easier to understand these types of tutorials with the help of a video.

How to Create a Subdomain and Install WordPress?

After watching the video, you can refer to these footnotes to have even a better understanding about how to create a subdomain:

First, log in to your CPanel. After logging into your Cpanel just scroll down and find the option of Subdomains. Click on it. Now, enter the name of the subdomain you want to create. So, just enter the subdomain name in the subdomain column and just hit create.

Now, wait for a couple of seconds. And success, BOOM! You have successfully created your required subdomain. You need to know one more thing. Let’s say you have created a subdomain by accident or you have created a subdomain accidentally or you don’t want the name which you have created and you want a different name.

In that case, what you can do is, just again move on to the Subdomains column. Scroll over and you will see all the subdomains you have created. Now just hover to the subdomain you want to delete and hit the Remove button. And when you click Delete Subdomain, the subdomain will be deleted.

But remember that this change is permanent. You can’t restore it until you have any backup. Now, we need to install an SSL or Secured Socket Layer on this subdomain. An SSL is basically for the security of your website or the subdomain.

subdomain How to Create a Subdomain

So, move on to the SSL column of your hosting. Scroll and you will see your subdomain where you have to install SSL which in my case is wptutorial.digitalabhi.com. To install an SSL on this subdomain just click on the button Install. Now hit Yes, replace. It will ask your email id. Then, click on the Install certificate.

The SSL installation will be in progress. This installation will take some time. In general, it doesn’t take more than 15 minutes to get the SSL successfully activated. Also, you have to turn on the HTTPS redirect thing.

What it will do is, if someone visits the HTTP version of your website, which is the unsecured version of your website, then, it will automatically redirect the user to the secured version of your website. So, we will just turn it on. It will just take a couple of seconds.

After some time you will see that the SSL is successfully installed and activated on your required subdomain. Now, we will head over to CPanel and install WordPress on this subdomain. So, scroll down and you will see an option of Softaculous Apps installer.

Click on WordPress, scroll down. Click on Install Now. And then you need to select your subdomain on which you need to install WordPress. In my case, the subdomain wptutorial.digitalabhi.com. And it automatically chooses the protocol which is HTTPS. Also, make sure that the in-directory column is completely empty. We don’ have to put anything here.

Put the site name. Let’s say, WP Tutorial and will put a description here. Let’s say ‘Get Tutorials related to WP’. You can also change the Site Name and Description later. And then, enter the username and password. The username and password you have entered here will be used when you will log in to the WordPress dashboard of your subdomain.

You might tick this Limit Login attempts but it’s not required. You can put an email where you want to get installation details. Also, it’s not necessary. Just click Install and the WordPress installation will start. Wait for a minute and BOOM, WordPress is installed on your required subdomain.

To check the WordPress on your subdomain, enter the subdomain in the URL box. And to access the WordPress dashboard, enter /wp-admin after your subdomain. For example, if you have a subdomain abc.example.com, then you have to enter abc.example.com/wp-admin in the URL bar to access your WordPress dashboard.

The login portal will open up in front of you. To log in, enter the username and password which you have set while installing WordPress on the subdomain.

You can also checkout the free WordPress Tutorial on Digital Abhi blog.

What is Subdomain?

A subdomain is a part of the main domain name. For example, ebooks.digitalabhi.com is subdomain for digitalabhi.com where digitalabhi.com is the main domain name. It is created to organize the content.

So, this was my post about how to create a subdomain and install WordPress on it. Thanks for taking out time to read this post. I hope now you know the proper way to create a subdomain.

If you have any kind of query, let me know in the comments section. I will be happy to help. You can also SUBSCRIBE to my YouTube channel where I am teaching WordPress and digital marketing for FREE.

Let’s Connect Socially:

Pin It on Pinterest