{"id":18375,"date":"2026-09-29T21:16:36","date_gmt":"2026-09-29T18:16:36","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/terminate-cpanel-account-whm\/"},"modified":"2026-11-22T16:37:48","modified_gmt":"2026-11-22T13:37:48","password":"","slug":"terminate-cpanel-account-whm","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/terminate-cpanel-account-whm\/","title":{"rendered":"Terminating One or Several cPanel Accounts in WHM: The Safe Way Before You Click Remove"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>Before you delete<\/b>In <b>Account Functions, then Terminate Accounts<\/b>, click <b>Remove<\/b> next to an account, or tick several and click <b>Remove selected accounts<\/b>, then confirm. Termination is permanent and covers files, databases and mail, so take a backup first, and consider suspending if you are not sure.<\/div>\n<div class=\"hy-vid\"><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-18375-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-term-en.jpg\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-term-en.mp4?_=1\" \/><a href=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-term-en.mp4\">https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-term-en.mp4<\/a><\/video><\/div><\/div>\n<p>Terminating an account in WHM is not like moving a file to the bin. As soon as you confirm, the server removes everything that belongs to the account, and there is no undo. That is why this guide starts with what to do <b>before<\/b> deleting, then the steps themselves, whether it is one account or several at once.<\/p>\n<h2>Do you really need to delete it?<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Situation<\/th>\n<th>Better action<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>A customer has not paid<\/td>\n<td><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/suspend-unsuspend-cpanel-account-whm\/\">Suspend the account<\/a>: everything is kept and one click restores it<\/td>\n<\/tr>\n<tr>\n<td>A site you are moving to another server<\/td>\n<td>Move it first, confirm it works there, then delete it here<\/td>\n<\/tr>\n<tr>\n<td>An account that is finished for good<\/td>\n<td>Take a full backup, keep it off the server, then delete<\/td>\n<\/tr>\n<tr>\n<td>A test or duplicate account<\/td>\n<td>Delete it directly<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"hkb-note\"><b>Before you start<\/b><\/p>\n<ul class=\"hkb-list\">\n<li>Access to WHM as <b>root<\/b> at <code>https:\/\/your-server-hostname:2087<\/code> (or the server IP on port 2087). Avoid the old port 2086: it is not encrypted.<\/li>\n<li>A full backup of the account stored off the server. Easiest is from the account\u2019s own cPanel with <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-full-backup\/\">a full cPanel backup<\/a>, or from the command line with <code>\/scripts\/pkgacct username<\/code>.<\/li>\n<li>Confirmation that nobody is still using the domain for email.<\/li>\n<\/ul>\n<\/div>\n<h2>Opening the tool<\/h2>\n<p class=\"hkb-path\"><code>WHM \u203a Account Functions \u203a Terminate Accounts<\/code><\/p>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wh-w-term.webp\" alt=\"WHM Terminate Accounts with its warning that termination cannot be undone\" width=\"800\" height=\"457\" loading=\"lazy\" \/><\/figure>\n<p>The page lists every account in a table: username, domain, owner, account state, a <b>Keep DNS Zone<\/b> checkbox and a <b>Remove<\/b> button on each row. Above it is an explicit warning that termination cannot be undone, with a recommendation to back up first.<\/p>\n<h2>Terminating a single account<\/h2>\n<ol class=\"hkb-steps\">\n<li><b>Find the account<\/b> with the <b>Search<\/b> box above the table.<\/li>\n<li><b>Decide about the DNS zone<\/b> tick <b>Keep DNS Zone<\/b> if this server will still serve the domain\u2019s DNS, for example because its mail is at Google. Otherwise leave it clear.<\/li>\n<li><b>Click Remove<\/b> on that row.<\/li>\n<li><b>Confirm<\/b> a confirmation dialog appears; after you accept, WHM shows the log until it finishes.<\/li>\n<\/ol>\n<h2>Terminating several accounts at once<\/h2>\n<ol class=\"hkb-steps\">\n<li><b>Tick each account<\/b> in the first column, or use the header checkbox to select everything shown.<\/li>\n<li><b>Use the filter<\/b> <b>Show only suspended accounts<\/b> lists suspended accounts only, handy for clearing out lapsed customers.<\/li>\n<li><b>Review the list twice<\/b> the counter above the table shows how many you selected.<\/li>\n<li><b>Click Remove selected accounts<\/b> then confirm. Accounts are removed one after another with a status for each.<\/li>\n<\/ol>\n<h2>What exactly gets removed?<\/h2>\n<ul class=\"hkb-list\">\n<li>The whole account directory <code>\/home\/username<\/code> with every site file.<\/li>\n<li>Its databases and database users.<\/li>\n<li>Mailboxes and their messages, forwarders and filters.<\/li>\n<li>Addon and subdomains and their web server configuration.<\/li>\n<li>The domain\u2019s DNS zone, unless you ticked Keep DNS Zone.<\/li>\n<li>The system user, its logs and its cron jobs.<\/li>\n<\/ul>\n<div class=\"hkb-note warn\">Termination does not wipe existing backups in the server\u2019s backup directory (usually <code>\/backup<\/code>), so you can restore from them later if automatic backups are on. See <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/configure-backups-whm\/\">backup configuration in WHM<\/a> and <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/restore-full-backup-whm\/\">restoring an account<\/a>.<\/div>\n<h2>Problems you may hit<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Problem<\/th>\n<th>Cause and fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>The account is not in the list<\/td>\n<td>You are logged in as a reseller who does not own it. Log in as root<\/td>\n<\/tr>\n<tr>\n<td>The process stopped halfway<\/td>\n<td>Usually a very large account. Let the log finish, then reload and check<\/td>\n<\/tr>\n<tr>\n<td>The domain still shows a page after deletion<\/td>\n<td>DNS or browser cache, or the domain points to another server. Check its A record<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"hkb-note\"><b>Check afterwards<\/b><\/p>\n<ul class=\"hkb-list\">\n<li>The account is gone from List Accounts.<\/li>\n<li>The backup is stored off the server and you know where.<\/li>\n<li>If you use billing software such as WHMCS, the service is marked terminated there too, so it is not recreated.<\/li>\n<\/ul>\n<\/div>\n<h2>Questions before deleting<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>Can I get an account back after terminating it?<\/summary>\n<p>Not from the termination tool. The only way back is restoring from an earlier backup.<\/p>\n<\/details>\n<details>\n<summary>What is Keep DNS Zone for?<\/summary>\n<p>It keeps the domain\u2019s DNS records on the server after the account is gone, so mail or external services that rely on them keep working if this server is the domain\u2019s nameserver.<\/p>\n<\/details>\n<details>\n<summary>Does termination free up a slot on the cPanel licence?<\/summary>\n<p>Yes. Terminated accounts no longer count towards the licence\u2019s account total.<\/p>\n<\/details>\n<details>\n<summary>How many accounts can I terminate in one go?<\/summary>\n<p>The interface sets no practical limit, but accounts are removed one by one, so large batches take longer.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Related guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/suspend-unsuspend-cpanel-account-whm\/\">Suspending and Unsuspending a cPanel Account in WHM: Manage Account Suspension<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/configure-backups-whm\/\">How to Enable Automatic Backups in WHM (Backup Configuration)<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/restore-full-backup-whm\/\">How to Restore a Full cPanel Backup (cpmove) in WHM<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/create-a-new-website-using-whm-cpanel\/\">Creating a New cPanel Account in WHM: Every Field in Create a New Account Explained<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-whm-on-vps\/\">cPanel and WHM on a VPS \u2014 The Complete 2026 Guide: What They Are, Licensing, and When to Choose Them<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/\">All WHM guides \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Before you deleteIn Account Functions, then Terminate Accounts, click Remove next to an account, or tick several and click Remove selected accounts, then confirm. Termination is permanent and covers files, databases and mail, so take a backup first, and consider suspending if you are not sure. Terminating an account in WHM is not like moving [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":21088,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2734],"doc_tag":[],"class_list":["post-18375","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-whm-cpanel-control-panels"],"year_month":"2026-11","word_count":804,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"WHM\/cPanel","term_url":"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18375"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18375\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/21088"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18375"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18375"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}