How to Add a New Account in WHM

How to Add a New Account in WHM

WebHost Manager (WHM) is a server administrative interface created by cPanel. cPanel/WHM is widely used among hosting providers and users who have their own servers for website hosting. This software makes it much easier to manage Linux distributed servers as they don’t need to make all the server configuration via command-line.

In this tutorial, we will learn how to add hosting account in WHM.

What you’ll need

Before you begin this guide you’ll need the following:

  • Access to WebHost Manager (WHM).

Step 1 — Creating a new package

Before you proceed with a new account creation you will need to create a new hosting package which could be assigned to new accounts. This is necessary because WHM doesn’t allow creating new accounts without a package attached.
If you already have packages created, proceed to Step 2.

  1. Login to your WHM. By default, it can be accessed by filling in your server IP address with a port of 2086 or 2087 to the browser. It should look something like this: http://serverip:2086 or https://serverip:2087
  2. When you are logged in you should see a list of available tools with a search bar at the top left side of your screen. Fill the search box with term package and you should now see Add a Package option appear. Click Add a Package.

    Add a Package location

  3. You will now see a page where you can set the limits, options of this particular hosting package. More information about each resource option can be found in cPanel Documentation.

    Add a Package view

  4. Once you have everything set as you want, scroll down to the bottom of the page and click Add.

    Add a Package create

  5. If the package was created successfully you should see a Success message at the bottom right corner of your screen.

    Success message

You can create as many packages as you wish with different resource options.

Step 2 — Creating a new account

When we have at least one package we can now create a new cPanel hosting account.

  1. Fill the search box with term create and you should now see Create a New Account option appear. Click Create a New Account.

    Create new account location

  2. In this page, you will need to fill in the main information of the hosting account you are about to create. This includes Domain, Username, Password, Email, Package, Theme, …

    Create new account view

  3. Fill in the necessary information and under Package section select the package that you would like to assign to this account.

    Choose package location

  4. If everything is filled in correctly, you should see green checkboxes next to required fields. If you see a red cross instead next to some field, please re-check if you filled in the information correctly. NOTE! These indications are only shown next to some of the fields.

    Create account finished
    Let’s look into Settings section. You can see two options there.

    • cPanel Theme – you can choose from available cPanel themes here. However, the user will be able to change the theme later in cPanel interface.
    • Locale – you can choose the default language of this cPanel account. Also, the user will be able to change the language later.
  5. Scroll down and you will see 2 other sections: DNS settings and Mail Routing Settings. In most cases, you can proceed with the values already checked, but I will explain the settings for reference:

    DNS Settings:

    • Enable DKIM on this account and Enable SPF on this account – enabling these features will increase the reputation of all emails sent out from that account. So it is always recommended to check these checkboxes.
    • Use the nameservers specified at the Domain’s Registrar – If this option is unchecked, DNS Zone of this account will be created with default nameserver values specified in WHM -> Basic cPanel & WHM Setup. In most cases, this is fine, however if you want the DNS Zone to be created with current nameserver values of this particular domain name – check this checkbox. NOTE! it is not recommended to check this option if domain is not yet pointed to correct nameservers.

      Mail Routing Settings:

    • Check Local Mail Exchanger if your aim is to send emails through the same server where the hosting account will be hosted (this is the default setting and will work fine in most cases).
    • In other cases you would need to look into Backup Mail Exchanger or Remote Mail Exchanger. You can find more information about these options by clicking More next to them.

    Upon completion in this page, scroll down and click Create.

    Create button location

  6. Account creation should now start, it will take up to 1 minute and when it is finished you should see a log which indicates all steps of the creation. Scroll down to the bottom of the page and if you see Account Creation Complete!!… message, it means that your account was created successfully.

    Creation complete

If you get any error messages during the account creation, please re-check if all details were filled in correctly. If you still experience issues afterwards, contact your hosting provider.

Step 3 — Checking the new account

After creating a new account we would like to check it of course.

  1. Fill the search box with term list and you should now see List Accounts option appear. Click List Accounts.

    List accounts location

  2. Here you should see a list of accounts created under your main account. You can see the most important information next to each account. To make changes to the account, click the + symbol.

    List of accounts

  3. You can also access cPanel of each account in this list by clicking the cPanel icon.

    Access cPanel


You now know how to create new cPanel hosting accounts in WHM. This will allow you to host your new websites or your clients accounts if you are selling hosting services. You have also learned how to create new packages which is always required for new account creation. With the help of this tutorial you will be able to create multiple hosting packages with different limitations, etc. and assign them to your newly created cPanel hosting accounts.

The Author


Linas L. / @linas

Linas started as a customer success agent and is now a full-stack PHP developer at Hostinger. He is passionate about making a positive impact on people by utilizing user-driven development techniques. As much as he enjoys coding and changing the world, he secretly dreams of becoming a rock star.

Related tutorials

Leave a reply




This site uses Akismet to reduce spam. Learn how your comment data is processed.

Become a part of Hostinger now!