How to Create a Subdomain in cPanel
A subdomain is a prefix added to your main domain that creates a separate section of your website. For example, blog.yourdomain.com or shop.yourdomain.com. Subdomains are useful for organizing different sections of your site or running separate applications.
Steps to Create a Subdomain
- Login to your cPanel account.
- Under the Domains section, click Subdomains.
- In the Subdomain field, type the prefix you want (e.g.,
blog). - Select your main domain from the dropdown menu.
- The Document Root will be auto-filled (e.g.,
public_html/blog). You can change this if needed. - Click Create.
Accessing Your Subdomain
Once created, your subdomain will be accessible at http://blog.yourdomain.com. Upload the files for your subdomain into the document root folder specified during creation.
Use Cases for Subdomains
- blog.yourdomain.com – For a blog section
- shop.yourdomain.com – For an e-commerce store
- support.yourdomain.com – For a support portal
- dev.yourdomain.com – For development/staging
Note: Subdomains are free and unlimited on most SKPHost hosting plans. No extra domain registration is needed.
Deleting a Subdomain
To delete a subdomain, go to cPanel → Subdomains, find the subdomain in the list, and click Remove. The files in the document root will remain — you must delete them manually via File Manager if no longer needed.
If you continue to face issues, please open a support ticket .
