Add/remove subdomains

This document contains information to create, modify, and delete subdomains from the cPanel Domains section.

This article explains how to create and delete a subdomain in cPanel. A subdomain is an address within your domain, like blog.yourdomain.com, that can display a distinct site without registering a new domain.

What is it for?

It is used to separate sections or projects with easy-to-remember addresses:

  • blog.yourdomain.com for a blog.
  • tienda.yourdomain.com for a store.
  • pruebas.yourdomain.com for testing changes without touching the main site.

The subdomain uses the disk space, transfer, and IP address of the same service. It has no dedicated resources.

Access: log in to cPanel from the client portal → Log in to cPanel, or at https://yourdomain.com/cpanel. Then open Domains → Domains. The Subdomains screen from older versions no longer exists: everything is managed from Domains.

Create a subdomain

  1. Click Create A New Domain.
  2. In Domain, type the full subdomain, for example blog.yourdomain.com.
  3. For it to have its own content, uncheck the option to share document root with the main domain. If you leave it checked, the subdomain shows the same site as the domain.
  4. Review the document root: it is the folder where the subdomain files go. cPanel proposes one with the subdomain name, and you can change it.
  5. Click Submit.

Then upload the files to that folder with the File Manager or via FTP, or install an application with Softaculous choosing the subdomain.

Important: the subdomain responds only if the domain is delegated to the hosting DNS. If the domain uses another company's DNS, you must also create a record there pointing the subdomain to the service IP. The subdomain security certificate may take a while to be issued.

Delete a subdomain

  1. In Domains → Domains, find the subdomain in the list.
  2. Click Manage.
  3. Click Remove Domain and confirm.

When deleted, the address stops working, but the files in its folder are not erased. If you no longer need them, delete them with the File Manager to free up space.

Frequent issues

  • I cannot find the Subdomains option: it was integrated into Domains → Domains → Create A New Domain.
  • The subdomain shows the same site as the domain: the option to share document root remained checked. From Manage, change the folder to a dedicated one.
  • The subdomain does not open: if the domain uses another company's DNS, the subdomain record is missing. If it uses the hosting DNS, wait a few minutes for it to propagate.
  • The browser warns that the connection is not secure: the subdomain certificate has not been issued yet. Check it in Security → SSL/TLS Status.
  • I deleted the subdomain and the disk is still occupied: the folder and its files remain in the account. Delete them with the File Manager.

More detail in the official cPanel documentation. If the subdomain does not respond after creating it, open a ticket from the client portal or consult via the site's online chat.

  • agregar subdominios, cpanel, eliminar subdominios, modificar subdominio
  • 20 Users Found This Useful
Was this answer helpful?

Related Articles

How to send information from forms - FormMail

This article explains how to send form data to an email on your domain using FormMail Clone, the...

PHP Scripts - Activating PHP support for the service.

This document contains information on how to choose or change the PHP version for each domain...

I cannot view the images on my cPanel services subdomain

This document contains information to resolve the issue of images not displaying on a subdomain...

DomainKeys and SPF - Prevent identity spoofing.

This document contains information to protect your domain against identity spoofing, configuring...

DomainKeys for sending email

This document contains information to verify and activate DKIM, SPF, and DMARC on your domain...