How to create a Subdomain in cPanel
Why subdomains are needed and how to create them in cPanel
While building a website sometimes is necessary to separate it in different themed categories technically and logically. For example the website of a company may has a blog, a forum or a partner login page. In any of the above situations, the way that the website's subdomains will work is different and depends from the marketing needs of the company or the technical limitations of the website's structure.
Let's see on of the above examples, the company blog. The technical implementation of a blog can be done in a completely different application/platform than the main website has been built and there are many companies that choose to build their blog via online applications such as blogger.com or the wordpress.com. In marketing terms it is also desirable the blog's URL to be communicated with a distinct way on social media and advertising campaigns.
For presentation needs we assume that the company has taken the decision to install a custom script for the blog, in a discrete subdomain of their website. A subdomain can be easily created through the cPanel using the following steps.
- Login to cPanel
- Then select the Subdomains option under the Domains category.
- Next type the name of the new subdomain and select the domain under which the subdomain will be created. A folder for the new subdomain will be automatically created inside the public_html folder. There can be uploaded the files of the new blog subdomain.
- Finally click the Create button. If everything goes OK a "has been created" message will be presented.
Note: Subdomains are technically distinct hostnames, so it can take up to 24 hours for the DNS system to be completely updated and the new Subdomain appear online.