How to Add a Subdomain to Your Hosting Account
Create a subdomain in cPanel to organize different sections of your website, such as blog.yourdomain.com or shop.yourdomain.com.
A subdomain is an additional part of your main domain name that allows you to create a separate section of your website. For example, if your main domain is example.com, you can create a subdomain such as subdomain.example.com.
You can add a subdomain through your hosting control panel, usually from cPanel.
How to Add a Subdomain in cPanel
- Log in to your cPanel account.
- In the Domains section, click Subdomains.
- In the Create a Subdomain form, enter the required details:
- Subdomain: Enter the name you want to use for your subdomain.
- Domain: Select the main domain under which you want to create the subdomain.
- Note: This field may not appear if only one domain is assigned to your hosting account.
- Document Root: This is the folder on your hosting account where the subdomain files will be stored. In most cases, it is generated automatically.
- Click Create to finish adding the subdomain.