How to Create a Subdomain HTML Website

This post demonstrates how to create a Subdomain HTML Website in a simple way.

Subdomains are used to create sections of the website; e.g., if the main website is “yourwebsitename.gq” then a subdomain website will be “hcol.yourwebsitename.gq”. Here, hcol is a subdomain of the domain yourwebsitename.gq. It can be further understood as if a company’s name is the name of the website, then a department can be represented by a subdomain website of the company.

To create any type of website, a domain name and a web hosting account are required. If you are not an expert in website development, then check out easy-to-use website builders from Wix.com, ConstantContact, Site123, Squarespace & GoDaddy.com. These Website Builders provide the fastest and simplest ways to create a full-featured, professional website.

Here is the video to learn How to Create a Subdomain HTML Website

Here are the steps shown in video

Step 1: Login to registered cPanel web hosting account with username and password.

Step 2: In the Domains section, click on Sub Domains link. Now provide a subdomain name in the Create a Subdomain field, as shown in the video.

Step 3: Open the File Manager by clicking on Online File Manager in cPanel. A folder is the subdomain name of the website; click on the folder and open the htdocs directory.

Step 4: Create a new file with the index.html name and write HTML code as shown in the video. HTML is a browser language that is used to design and develop web pages in website development. To learn HTML step by step, keep following the Hosting Column.

Step 5: Browse the website with subdomain name.

Step 6: For uploading HTML template, rename index.html to index1.html and upload the HTML template FreeWebsiteTemplate in the htdocs folder.

Step 7: Unzip the uploaded template and move all the files and directories into the htdocs folder. Modify the contents of the index.html file and access the subdomain HTML website with the created subdomain name, e.g., http://hcol.yourwebsitename.gq/.

Thanks for visiting. For queries and suggestions, emails are welcome at learnweb@hostingcolumn.com.

Subscribe to Hosting Column for latest updates and posts.