> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# Managing Users in WHM/cPanel

In WHM/cPanel, a cPanel account is an individual hosting account that uses the cPanel control panel. Each account provides a separate hosting environment for a domain or website.

cPanel users can manage website files, email accounts, databases, security settings, and other hosting features through the cPanel interface.

WHM allows administrators and authorized resellers to create, manage, and remove cPanel accounts.

## Create a New cPanel Account from WHM

Root and reseller users with the required privileges can create cPanel accounts from WHM.


### Log in to WHM
Log in to WHM using the following URL:
https\://VPS_IP_Address:2087
### Open Create a New Account
Use the WHM search bar to search for **Create a New Account**.
<img alt="Search for Create a New Account in WHM" src={image0} />
Click **Create a New Account**.
You will be taken to the account creation page where you can enter the details for the new cPanel account.
<img alt="Create a New Account page in WHM" src={image1} />

:::info

Make sure you have created a hosting package before creating the cPanel account. If you have not created one, see [How to Create a Package in WHM](/cpanel/whm_management/how_to_create_a_package_in_whm.md).

:::

## Configure Domain Information


### Enter account details
Enter the required account information.
<img alt="Domain information settings in WHM" src={image2} />
- **Domain:** Enter the primary domain name associated with the account.
- **Username:** Enter the username that will be used to access the cPanel account.
- **Password:** Enter a secure password for the account.
- **Email Address:** Enter the email address associated with the account. This address may be used for important hosting account notifications.
### Check username requirements
The username must meet the following requirements:
- It must be unique and contain 16 characters or fewer.
- It can contain only letters and numbers.
- It cannot start with a number or the string `test`.
- If you plan to use MySQL or PostgreSQL, the first eight characters must be unique on the system to prevent issues with database prefixing and account transfers. This restriction does not apply to servers running MariaDB.

:::info

Use a unique username and a strong password to help protect the cPanel account.

:::

## Configure the Package


### Select the hosting package and options
<img alt="Package settings in WHM" src={image3} />
Configure the following options:
- **Choose a package:** Select the hosting package you want to assign to the account.
- **Select Options Manually:** Use this option if you want to configure the account resources manually.
- **cPanel Theme:** Select the cPanel theme for the account.
- **Locale:** Select the language for the cPanel account.

## Configure Mail Routing


### Select the mail routing configuration
<img alt="Mail routing settings in WHM" src={image4} />
Mail routing determines how email for the domain is handled.
The available options include:
- **Automatically Detect Configuration:** Allows cPanel to automatically determine the appropriate mail routing configuration.
- **Local Mail Exchanger:** Delivers email locally to the server hosting the account.
- **Backup Mail Exchanger:** Routes email through a backup mail server when the primary mail server is unavailable.
- **Remote Mail Exchanger:** Routes email to a remote mail server specified by the domain's MX records.

:::note

If you are using a third-party email service, select **Remote Mail Exchanger** when appropriate for your mail configuration.

:::

## Configure Reseller Settings


### Set reseller options
<img alt="Reseller settings in WHM" src={image5} />
If you are creating a standard cPanel account, you can skip the reseller settings.
If you want to create a reseller account, configure the reseller options as required.

## Configure DNS Settings


### Configure DNS and email authentication
<img alt="DNS settings in WHM" src={image6} />
Configure the DNS settings according to your requirements.
You can enable **DKIM** and **SPF** during account creation to configure these email authentication records for the domain.

:::note

DKIM and SPF help improve email authentication and deliverability and help protect against email spoofing.

:::

## Create the cPanel Account


### Review and create the account
Review the account settings and click **Create**.
After the account is created, you can access cPanel using the username and password configured during account creation.

:::info

Keep the cPanel username and password secure. Make sure the account details are correct before creating the account.

:::

The cPanel account has now been successfully created from WHM.

## Delete an Existing cPanel Account from WHM

You can delete an existing cPanel account from WHM.

:::warning

Deleting a cPanel account permanently removes its associated files, databases, email accounts, and settings. Make sure you have a backup of any data you may need before terminating the account.

:::


### Log in to WHM
Log in to WHM using the following URL:
https\://VPS_IP_Address:2087
### Open List Accounts
Use the WHM search bar to search for **List Accounts**.
<img alt="Search for List Accounts in WHM" src={image7} />
You will see a list of cPanel accounts. You can search for a specific account using its domain name or username.
### Expand the account details
Click the **+** sign next to the account you want to remove.
<img alt="Expand the account details in WHM" src={image8} />
### Terminate the account
Click **Terminate Account** to remove the cPanel account.
<img alt="Terminate Account option in WHM" src={image9} />
WHM will display a confirmation prompt.
### Confirm account deletion
Click **Yes, remove this account** to permanently delete the cPanel account.

:::warning

Account termination cannot be undone through WHM. Verify that you have selected the correct account and have any required backups before confirming the deletion.

:::
