Home › Blog › Creating and Configuring Subdomains in cPanel
Creating and Configuring Subdomains in cPanel
16 July 2025 · Dorel Tănase · SEO
Creating and configuring subdomains in cPanel. A subdomain is an extension of the main domain and is used to create separate sections of the website. For example,
blog.goai.ro or shop.goai.ro are subdomains of the main domain goai.ro. Subdomains are useful for organizing content, developing independent platforms, or testing new functionalities.
Creating and Configuring Subdomains
Accessing the Subdomains Option in cPanel
To create a subdomain, follow these steps:- Log in to cPanel
- Navigate to the DOMAINS section
- Click on the Subdomains option
Creating a New Subdomain
On the "Subdomains" page, fill in the fields as follows:- Subdomain: enter the desired name (e.g.,
blog) - Domain: select the main domain from the list
- Document Root: fills automatically (e.g.,
public_html/blog), but can be modified
Accessing and Publishing Content on the Subdomain
After creating the subdomain, you can access its folder inFile Manager, in the directory specified at Document Root (e.g., public_html/blog). Here you can upload HTML files, install WordPress, or add any web application. The subdomain becomes publicly accessible immediately at the address https://subdomain.domain.ro.
Creating a Subdomain for Testing
Many administrators use subdomains likedev.domain.ro or staging.domain.ro to test changes before launching in production. These can be password protected or restricted through the .htaccess file.
Deleting a Subdomain
To remove a subdomain:- Access the Subdomains section again
- In the list of existing subdomains, locate the desired one
- Click on Remove and confirm the deletion
File Manager.
Redirecting a Subdomain
cPanel allows redirecting a subdomain to another URL address:- In the Subdomains section, go to the Redirection column
- Click on Manage Redirection
- Enter the destination address (e.g.,
https://www.otherwebsite.ro) - Save the changes
Recommendations for Using Subdomains
- Use subdomains for large and independent structures (e.g., blog, shop, support)
- Don't abuse subdomains without necessity; they can complicate SEO
- Make sure each subdomain has an active SSL certificate
- Update the
sitemap.xmlandrobots.txtfiles if you're indexing subdomains
How this article was made
- Author
- Dorel Tănase
- Published
- 16 July 2025
- Last updated
- 5 August 2026
We work by our publishing principles, corrections policy, ethics policy.

