In the latest versions of cPanel, the process of adding a subdomain is similar, but the interface and options may look slightly different. Here’s how you can do it:
-
Log in to cPanel – Open cPanel and log in using your username and password.
-
Find the “Domains” Section – In the latest cPanel versions, the domains section may be accessible directly from the main page or via the search option. Type "Domains" in the search field if you don’t see it right away.
-
Click on “Domains” – Clicking on this option will open the page where you can manage all your domains and subdomains.
-
Add a New Subdomain:
- Click on the Create A New Domain button.
- In the Domain field, enter the desired subdomain name (e.g.,
blog.yourdomain.com
). - cPanel will automatically create the appropriate directory for your subdomain in
public_html
, but you can set a custom path if you prefer.
-
Create the Subdomain – Once you’ve entered the information, click "Submit" or "Create" to complete the creation process.
-
Check Your Subdomain – After the subdomain is created, you can find it in the domain list or directly access it via the URL (e.g.,
blog.yourdomain.com
).
After adding the subdomain, you can upload files or install applications in its directory, just as you would for the main domain.