Introduction
A subdomain is an extension of your main domain used to organize or separate sections of your website — such as a blog, shop, support portal, or development environment. For example, blog.kirods.com
or support.kirods.com
.
With cPanel, creating and managing subdomains is quick and easy. This guide explains how to create a subdomain, manage its directory, and use it for various purposes.
What is a Subdomain?
A subdomain is a prefix added to your main domain to create a distinct web address.
Examples:
-
blog.kirods.com
— for publishing articles -
shop.kirods.com
— for an online store -
dev.kirods.com
— for staging or testing
Each subdomain can point to a different folder on your hosting account and operate as a separate site.
How to Create a Subdomain in cPanel
-
Log in to cPanel
-
Go to the Domains section
-
Click Subdomains
-
Fill in the following fields:
-
Subdomain: (e.g., blog, support, test)
-
Domain: Choose your main domain from the dropdown
-
Document Root: This auto-fills (e.g.,
public_html/blog
). You can change it if needed.
-
-
Click Create
That’s it! Your subdomain is now live.
Where Are Subdomain Files Stored?
Each subdomain has its own folder inside your hosting root. For example:
-
blog.kirods.com
→ files go inside/public_html/blog/
You can upload content to this folder using:
-
File Manager in cPanel
-
An FTP client (like FileZilla)
Redirect a Subdomain
If you want to forward your subdomain to another domain or page:
-
Go to Subdomains in cPanel
-
Find the subdomain and click Manage Redirection
-
Enter the destination URL (e.g.,
https://externalblog.com
) -
Click Save
❌ How to Delete a Subdomain
If you no longer need it:
-
Go to Subdomains
-
Click Remove next to the one you want to delete
-
Confirm deletion
⚠️ Deleting a subdomain does not automatically delete its files. You can manually remove its directory from File Manager if needed.
Tips & Best Practices
-
Use subdomains to separate functionality (e.g., blog, app, admin)
-
Install WordPress or another CMS on a subdomain for independent sites
-
Use SSL certificates for secure subdomains (most hosts support free AutoSSL)
-
Avoid using too many subdomains to prevent SEO or maintenance complexity
✅ Conclusion
Subdomains are a powerful way to expand and organize your online presence without needing to buy new domains. With cPanel, you can create, manage, and customize subdomains in minutes — giving you the flexibility to grow your site as needed.