Updated: 12 November 2026 · Applies to: cPanel and WHM 138 (Jupiter theme), Domains interface
To delete a subdomain in cPanel, open Domains › Domains, click Manage next to the subdomain, click Remove Domain and confirm with Yes, remove this domain. According to cPanel, this removes only the subdomain's web server (vhost) and DNS entries: its folder and files stay on the server until you delete them yourself.
Before you start
- Take a backup. cPanel recommends a full account backup before you remove a domain.
- Check what still uses it. Links, email addresses, API callbacks or a staging copy of your site may point to the subdomain, for example
blog.example.com. - Note the document root. The Domains list shows each domain's document root (for example
public_html/blog). You need it if you want to delete the files afterwards.
Steps
- Log in to cPanel (for example at
https://example.com:2083, or through the Ucartz client area). - Open Domains › Domains. Subdomains are listed together with your main, addon and parked domains. You can sort the list by the Domain or Document Root column.
- Find the subdomain and note its document root.
- Click Manage in the Actions column for that subdomain.
- Click Remove Domain.
- Click Yes, remove this domain to confirm.
- Back in Domains, check that the subdomain is no longer listed.
Delete the leftover files (optional)
- Open Files › File Manager.
- Go to the document root you noted, for example
public_html/blog. - Download anything you want to keep, then delete the folder.
If the subdomain ran an app with a database (WordPress, for example), the database is not removed either. Delete it in Databases › Manage My Databases once you are sure you no longer need it.
What happens to email and DNS
- Email: according to cPanel, email accounts of a removed domain stop showing in Email Accounts, but their mail folders stay on the server. If you add the same domain again later, the accounts reappear.
- DNS: the subdomain's DNS records are removed from your zone. If you manage DNS somewhere else (for example at your registrar or Cloudflare), delete the record there too, or the name keeps pointing at the server.
Common questions
- I cannot find a Remove Domain button. cPanel does not allow removing the main domain. Make sure you opened Manage for the subdomain and not for the main domain. Your host can also disable the interface for your account.
- The subdomain is not in the list. Subdomains created automatically for addon domains show only after you click Show Associated Subdomains.
- The page still loads after removal. DNS caches and your browser can keep the old answer for a while. Test in a private window, or check the DNS record in Domains › Zone Editor.
To create a new subdomain, see Creating and Managing Subdomains in cPanel. For how subdomains differ from addon and parked domains, see What is the difference between parked, addon, and subdomains?.
Official documentation: cPanel Manage the Domain.