< All Topics
   

In this articles we will show you how to delete a subdomain in cPanelDeleting a subdomain in cPanel is a simple yet vital task when you no longer require a specific subdomain, want to free up resources, or are reorganizing your website structure. Hosted.com® provides easy access to this functionality, so you can manage your domains efficiently without affecting your main website.

A subdomain is an extension of your main domain, such as blog.yourdomain.com or shop.yourdomain.com. When you delete a subdomain, you remove its directory and all associated files unless you choose to keep them. Understanding the steps ensures a clean removal without accidentally deleting other content.

How to Delete a Subdomain in cPanel

1. Login to your Hosted.com® account.

2. Navigate to your hosting plan from the Manage Services menu.

How To Delete A Subdomain In cPanel

3. Click Manage next to the hosting plan associated with your current domain.

How To Delete A Subdomain In cPanel

4. Select Login next to Control Panel to access cPanel.

5. In cPanel, scroll down to Domains. Click Domains to view all existing subdomains linked to your main domain.

How To Delete A Subdomain In cPanel

6. A list of subdomains will appear, showing the document root (folder) associated with each.

7. Confirm that you are deleting the correct subdomain to avoid removing important content.

How To Delete A Subdomain In cPanel

Delete or Remove a Subdomain

8. Click Remove or Delete next to the subdomain you want to remove.

9. You will be prompted to confirm the deletion. Confirm only if you are certain

Remove a Subdomain Folder & Files

10. cPanel may ask whether you want to remove the Subdomain’s folder and files. If you want to keep the files, retain the folder. Otherwise, the folder and all contents will be deleted. Confirm the Deletion.

11. After confirmation, the subdomain will be removed from the list. Check your main domain to ensure that the subdomain no longer resolves.

Additional Information

  • Impact on Website Functionality: Deleting a subdomain will remove its web access, so ensure that no active content or services rely on it.
  • Backups: Always create a backup of the subdomain’s directory and database (if applicable) before deletion, especially if you plan to use the content later.
  • Email Accounts: If you created email addresses under the subdomain (e.g., info@subdomain.yourdomain.com), they will also be deleted. Ensure you save any important emails first.
  • DNS Propagation: If the subdomain had DNS records, they may take some time to update globally after deletion.
  • Recreating Subdomains: You can always recreate a deleted subdomain in cPanel if required, but it will be treated as a new entity and will require a new directory and settings.
  • WordPress or CMS Users: If the subdomain hosted a WordPress site or another CMS, ensure you back up the database and configuration files before deletion.
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?