When you create an account in WHM, you can select quite a few resource limits on the account, ranging from disk space to allowing SSH access. But what if you plan on using the same settings for multiple accounts? That's where packages come in. A package is a list of resource limits that you can assign to any account, new or old (upgrades/downgrades), without having to change the values manually.
Please note, this requires either a reseller account, VPS or dedicated server. Shared hosting plans are not allowed to create accounts, so they can not create packages.
Adding a package
- Sign in to WHM by visiting https://yourdomain.com:2087 or http://whm.yourdomain.com
- You can also access WHM by signing in to cPanel and clicking WebHost Manager in the Advanced section.
- On the left side of the screen, type "package" into the search box.
- Click "Add a Package"
- The next screen is where you define the package name as well as the limits for the package.
- Enter the name of the package. It's better to use something that will easily identify the limits. For example, a package with 1GB of diskspace could be named 1000.
- Choose limits for the package in the Resources section by entering a value in the boxes.
Warning: Unlimited accounts are limited by your hosting plan and selecting Unlimited may allow acocunts to consume all of your available resources.
- In the Settings section you can set if the package includes a dedicated IP (Due to ARIN regulations, it is not recommended that this be selected. All IP addresses should be requested.), if SSH access is allowed, whether or not FrontPage and CGI are enabled. You can even select the theme that will be used. Note: FrontPage extensions are not recommended, and will actually be removed by cPanel soon.
- Once you have all of the options set up how you'd like them, click Add.
- You can now create a new account and select this package.
Removing a package
- Sign in to WHM using one of the methods listed above.
- Just as if you were adding a package, type "package" in the search box on the top left.
- Click on the "Delete a Package" link.
- Select the package you would like to delete. Once you have it selected, click the "Delete" button.
Editing a package
- Editing a package is just like creating one. Type "package" in the top left search box.
- Click on the "Edit a Package" link.
- Select the package you want to modify then click "Edit."
- You can now change the package limits in the same way you created them.
- Once you're done, click "Save Changes."
- If you changed something you didn't mean to, you can click "Reset" next to save and the package will revert to it's original state.
Creating an account
Now that we have a package defined, let's make use of it by creating an account.
- Within WHM, type "create" in the top left search box.
- Click "Create a New Account"
- Enter the information for the account you're creating. Domain, username [will automatically fill in based on domain, but it can be changed], account password, and a contact email address.
- Select the package you just created, as well as a theme and locale if you need to change them for this account.
- Packages that are highlighted in red can not be used, as they would put you over your allowed resources. If you believe it is mistakenly disabling a package, please contact support.
- On the next section of the page you can select if this account is a reseller (can create their own packages and accounts).
- For most people, leaving most of the last two sections alone is fine. The one thing you do want to check is "Enable SPF on this account".
- Enabling SPF (a type of DNS record) will help reduce the chance of spammers spoofing your domain, making it seem like you are sending an email that you didn't.
- Once you have all of the settings configured as you want it, click "Create."
Congratulations, you have just created an account using packages. If you were to create three accounts using the exact same settings instead of creating a package for the accounts, you would have spent about 10 more minutes creating the accounts.