Skip to content
Technology for businesses since 2008

Help center · Domains and cPanel

How to create a subdomain in cPanel

To create a subdomain in cPanel, open Domains (or Subdomains, in older versions), click Create a New Domain, type the full name, such as blog.yourdomain.com, leave the option for its own folder checked, and save. cPanel creates the folder and the subdomain starts opening within moments, without you needing to change anything at Registro.br (the Brazilian domain registry).

A subdomain is an address that sits in front of the main domain, such as blog.yourdomain.com or shop.yourdomain.com. It’s used to separate a site, a test, or a system from the main site, using the same hosting plan.

Subdomain, addon domain, or folder: which one to use

I want Use
blog.yourdomain.com with content separate from the site Subdomain
Host another domain, such as otherdomain.com, on the same plan Addon domain
A section inside the same site, such as yourdomain.com/blog A folder inside the site, without a subdomain

Step by step

  1. Log in to cPanel.
  2. In the Domains section, open Domains (in older versions, Subdomains).
  3. Click Create a New Domain.
  4. In the Domain field, type the full subdomain: blog.yourdomain.com.
  5. Uncheck Share document root, if it appears, so the subdomain has its own folder.
  6. Check the Document Root, the folder where the files are stored. cPanel suggests something like public_html/blog.yourdomain.com. You can change it to another name.
  7. Click Submit.

In older versions of cPanel, the form has two fields: the subdomain name (blog) and the main domain in a list. The result is the same.

After creating it

If the subdomain doesn’t open

  • Wait a few minutes. The main domain’s DNS is already pointing to the hosting, and the new subdomain usually opens quickly, but not instantly.
  • Check the DNS servers. If the main domain uses DNS from somewhere else, you need to create the subdomain there too. See how to point the domain to your hosting (DNS).
  • Empty folder. With no files in the document root, the subdomain shows an error page or a list of files. Upload the site.
  • Certificate warning. If the browser says the connection isn’t secure, the subdomain doesn’t have SSL yet.

How to remove a subdomain

On the same Domains screen, click Manage next to the subdomain and then Remove. Deleting the subdomain doesn’t delete the folder and files by default: if you no longer want the files, delete the folder in the File Manager. Before doing that, keep a copy, as shown in the article on backing up in cPanel with JetBackup.

Frequently asked questions

Does a subdomain cost extra?

Generally there’s no charge per subdomain, but the limit on how many you can create depends on your plan. Check in cPanel or ask through contact.

Does the subdomain have a separate site and email?

The site is separate, with its own folder. For email, you can create accounts on the main domain as usual: contact@yourdomain.com.

Do I need to change anything at Registro.br to create a subdomain?

No, as long as the domain’s DNS is on the hosting. Creation is done only in cPanel.

Can I install a different WordPress on the subdomain?

Yes. Each subdomain has its own folder and can have an independent installation, with its own database.

What’s the difference between a subdomain and an addon domain?

A subdomain is part of the main domain (blog.yourdomain.com). An addon domain is a separate, complete domain (otherdomain.com) hosted on the same plan.

More on Domains and cPanel

See all →

Help center

Looking for something else?

See all tutorials, organized by topic.