Cloud Service >> Knowledgebase >> cPanel >> Steps to Sub-Domain Creation Through cPanel
submit query

Cut Hosting Costs! Submit Query Today!

Steps to Sub-Domain Creation Through cPanel

The subdomains facilitate and subdivide the pages on your website into different areas or purposes under the same original domain. Whether your need is a blog, forum, shop, or anything else, the hosting control panel (cPanel) allows you to create one with a subdomain in a matter of few seconds and without having to get into an advanced DNS necessitating. 

 

This is a detailed step-by-step knowledge base on how to construct a subdomain through cPanel.

Let’s get started!

Step 1: Access cPanel

Log into your website hosting account's cPanel. This is usually accessible by going to your website.com/cpanel or https://yourIPaddress:2083.

Step 2: Locate the Subdomain Section

Look for the "Domains" menu entry in the main cPanel dashboard. Then click on the "Subdomains" icon.

Step 3: Add a New Subdomain

Click on "Add Subdomain" or the "Add Subdomain" link to start the subdomain creation process.

Step 4: Enter Subdomain Details

You will be prompted to enter the following details:

 

Subdomain Name: This is the name of your subdirectory that contains details, e.g., "blog," "shop," "forum," etc. Special characters and spaces are not advisable.

 

Domain: Take the dropdown menu and pick the main page under the subdomain you want to create.

 

Document Root: Here is the location of the subdomain files folder on the server. The default cPanel suggestion is the path "/public_html/subdomain_name" unless correct. You may change this if you want; however, it is usually recommended to keep the default.

 

Create an FTP Account: Mark the checkbox if you intend to create other FTP accounts to manage files exclusively for this subdomain.

 

Step 5: Configure Subdomain Settings

With regards to a specific cPanel version that you use and the hosting provider, you may observe extra settings that are presentable and can be modified like:

 

Allow/Disallow Subdomain to Inherit Domain's Settings: Once the name is chosen, this option will define whether the subdomain will inherit specific configuration settings (such as PHP versions, MySQL databases, etc.) from the primary domain.

 

Subdomain Document Root Path: "Here is the path to the subdomain document root that can be modified."

 

Create a New Directory for This Subdomain: Click here, to have cPanel make a new directory for saving the subdomain files.

 

Allow/Disallow Overrides for This Subdomain: This setting turns on/off either subdomain to override some properties from the primary domain.

Step 6: Review and Confirm

Verify that all the data you have entered has been entered accurately. If the information looks good and everything looks correct, you can click on the "Create" or "Add Subdomain" button to wrap up the process.

Step 7: Access Your Subdomain

Once created, you can access your new subdomain by visiting http://subdomain.yourdomain.com in your browser's address bar for accessing the website. If you create an FTP account separately, input your login credentials in the FTP client and fetch the file into the subdomain's root directory.

Additional Notes

Wildcard Subdomains: Some hosting providers even allow you to use wildcard subdomains (e.g., *.yourdomain.com), so you may create unlimited subdomains. See if your portability operation provides this function.

 

Subdomain Redirects: cPanel offers equal opportunity for creating forward redirections, which can redirect visitors from one subdomain to another (a domain on your website or another) according to your choice.

 

Subdomain Alias: An alias subdomain may be referred to as a secondary URL that ONUHLVEUZOVE contacts the same address as a primary subdomain.

 

Subdomain Parking: If you don't have anything specific coming up on subsites and you want to create a reservation without putting any content, you can park the subdomain.

 

Subdomain Removal: To drop the existing subdomain, head again back into the "Subdomains" sector in cpanel and seek the "Remove" or "Delete" choice precisely next to the subdomain you are willing to delete.

Final Words

Establishing subdomains with cPanel is an easy-to-use method of freeing the website content from the top domain and brainstorming it into multiple functional and orderly sub-parts. Customize your site for different purposes by using subdomains to start a blog, integrate an online store, or create a distinct space for a particular purpose under a primary domain. Subdomains help ensure clear and professional management of different sections under the main domain. For more details-contact our server experts today!

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!