How to Create a Subdomain in cPanel
Creating a subdomain in cPanel is a straightforward process and can be useful for organizing sections of your website, like a blog or store, separately from the main site. Here’s a step-by-step guide:
Step 1: Log in to cPanel
- Access your cPanel account by logging in with your credentials.
Step 2: Go to the Domains Section
- Once in cPanel, scroll down to the Domains section.
- Click on Domains to open the domain management area.

Step 3: Click on “Create a New Domain”
- In the Domains page, look for the button labeled Create a New Domain on the right side. Click this to start the setup.

Step 4: Enter the Subdomain Details
- Subdomain: In the domain field, enter the subdomain you want to create (e.g.,
blog.yourdomain.com
). - Document Root (Optional): This is the directory where the subdomain’s files will be stored. cPanel usually auto-generates this path, but you can specify a custom location if needed.

Step 5: Submit to Create the Subdomain
- Once you’ve entered the necessary details, click Submit to finalize the subdomain setup.

Additional Information
- Accessing the Subdomain: Once created, you can manage the subdomain’s files by navigating to its document root in File Manager.
- Uses of Subdomains: Subdomains are helpful for setting up different areas of your website, like
shop.yourdomain.com
for an eCommerce section orsupport.yourdomain.com
for customer support.
That’s it! Your subdomain is now created and ready to use in cPanel.
Was this article helpful?
YesNo