What is the subdomain?
A subdomain is a child domain of the primary domain. It is used as a web address for the specific and unique content of a website.
It is also a great way to organize website content according to categories. For example, blog.example.com and shop.example.com would be the subdomains of the main site example.com.
When do you need it?
If you are running a website and need to create a new website related with the existing website, it is not necessary to purchase a new domain name for that.
Subdomains enable you to set up multiple websites using a single domain depending on your need.
How to create a subdomain for your website?
Log in your web hosting site and go to DNS managment interface. Let’s take Vultr as an example. Then, click Edit domain icon.
After that, add ‘A’ record to create subdomains. Select ‘A’ record type from the drop-down menu.
In the name field, type the sub part of your domain and IP address in the Data field. Then click Add button.
Once you finish, you can check whether the subdomain works or not. Type your subdomain in browser and check it. If the image below shows, it means that the subdomain works.
I hope this tutorial helps you learn how to create a subdomain for your website. You may also be interested in How to install plugins for WordPress website.
0 Comments