When you’re visiting a certain website, you might notice that based on your location on the page you’re visiting, the URL in the search bar changes as well. In this article, we will go over the part of the URL that changes, and it’s called a subdomain. A subdomain is an additional part of your main domain name. A subdomain is created to navigate through and organize different sections of your site. On your main domain, you can create several subdomains or child domains. The root domain is the only domain that is not also a subdomain.
Usually, subdomains are used to separate a website into several actions. You can also use subdomains for creating blogs that have different themes. For instance, blogname.com is the blog, while sport.blogname.com and fashion.blogname.com are for specific themes on different subdomains on the blog.
Subdomains are also used if you want a website that has different language versions, such as en.example.com for English, fr.example.com for French, and so on. You can also create a mobile version for your website with a subdomain. For instance, this would be m.example.com. You can also create a network of unrelated sites with a subdomain.
Subdomains can also point to a single page or a section on your website. For instance, if you have a personal portfolio site, the contact form can be hosted on hireme.example.com. You can really get creative when it comes to subdomains For instance, north.example.com and south.example.com are subdomains of the domain example.com, which in turn is a subdomain of the .com top-level domain, also known as TLD. The most commonly used subdomain is www, which stands for World Wide Web. The subdomain contains the most important pages of a website and its homepage. The World Wide Web subdomain is used so much that it is usually included with domain name purchases at domain registrars.
If you plan your website to have more functions, such as a blog, a forum, or a store, adding a subdomain to your domain will be a smart way to separate all of these functions from your primary website.
You need to click on Domains in order to add a subdomain to your cPanel.
In this section, you will need to click "Create A New Domain".
In this section, you will see the first field where you can enter your subdomain only as “north” in “north.example.com.” The second field in this section is called Domain, and this will be the domain name you are setting the subdomains for. The last field is called Document Root, and this is where the files will be located for this subdomain, also known as the document root.
In conclusion, a subdomain is a part of the URL that comes after the domain extension and the main domain name. Subdomains can really be of help if you want to create separate sites on your website or divide your site into several parts.
Updated over 1 year ago