How to Suspend and unsuspend cPanel accounts

How to Suspend and unsuspend cPanel accounts

You can suspend cPanel user if he is consuming high server resources, customer didn’t pay the monthly bill, sending spam email, hosting phishing/infected site etc. You must have server ‘root’ access or reseller login to suspend and unsuspend a cPanel user. The site visitors will be redirected to suspended page when they browse the website and they won’t be able to access cPanel.

Steps to list all Suspended accounts on a cPanel server

1. Login to WHM (Webhost Manager) using server root login details

URL to access WHM : https://yourserverIP:2087
username : root
Password : Enter root password to access WHM

2. Search for ‘Suspended Accounts’ in the WHM search bar

3. Click on ‘List Suspended Accounts’ under ‘Account Information’
 

 
Here you can see list of all cPanel accounts that are suspended, date on which it was suspended, reason for suspending the account etc.

Suspended accounts will be listed in red in ‘List Accounts’ list

WHM Home » Account Information » List Accounts (Accounts in red are suspended)

 


 

How to Suspend/Unsuspend a cPanel account through WHM

1. Login to WHM

2. Search for ‘Manage Account Suspension’ in WHM search bar

3. Click on ‘Manage Account Suspension’ under ‘Account Functions’

4. Select the domain you wish to suspend/unsuspend

5. Enter the reason if you are suspending and tick ‘Prevent resellers from unsuspending’ if you do not want reseller accounts to unsuspend the cPanel account
 

 
6. Click on ‘Suspend’ to suspend the account OR ‘Unsuspend’ to unsuspend the account

Suspended accounts will be listed in red in ‘List Accounts’ list


 

Alternate way to suspend/unsuspend a cPanel account

1. Access WHM in Browser

2. Click on ‘List Accounts’ under ‘Account Information’

Home » Account Information » List Accounts

3. Click on + sign beside the domain name you wish to Suspen/unsuspend
 

 
4. Click on suspend to suspend the cPanel account. Click on Unsuspend to unsuspend the account.
 

 


 

Steps to Suspend/Unsuspend a cPanel account Using CLI (command line)

You can suspend/unsuspend the cPanel account either through WHM OR from the server backend. cPanel provides scripts to suspend or unsuspend the account.

1. Log into your cPanel/WHM server through SSH as ‘root’ user

2. Run the command ‘/scripts/suspendacct [cPanel-user]’ to suspend the account

3. Run the command ‘/scripts/unsuspendacct [cPanel-user] to unsuspend the cPanel account

[cPanel-user] should be replaced with the actual cPanel username.
 
Open the below URL to know more about cPanel account suspension :

https://documentation.cpanel.net/display/68Docs/Manage+Account+Suspension