cPanel accounts always have an associated package, which governs its resource allocation. Settings such as disk space limit, amount of email addresses allowed, database limits, domain limits and even how many email the domain on the cPanel account is allowed to send per hour.
We recommend creating a package (or packages) on your WHM Reseller hosting / WHM cPanel server to ensure that your cPanel accounts all have the correct limits set.
Creating a new package:
Firstly, log into your WHM account. If you are unsure on how to do this, please view the following help article - 'How to log into WHM'
Once logged in, from your WHM home screen click on 'Add a Package'
Alternatively you can also access the Add a Package page by typing in 'Add a Package' in the search box, located in the top left of your WHM area, then click on 'Add A Package'
On the Add a Package page, you will firstly be asked to give the package a name.
Enter a name that will enable you easily remember what the package basics are. For example, in this guide we will call our package: 'Demopackage_1gb', If we were to ever then select this package for a cPanel account, we would know it has a 1GB disk space limit set.
Once you've entered a package name, you will then need to set the resources for the package, as listed below:
Disk Quota: This is how much disk space you would like a cPanel using this package to have. In this example we've set 1024 (mb), which is 1GB of disk space.
Monthly Bandwidth: This is how much bandwidth you will allow the cPanel to use. This relates to data being sent / received by the cPanel, such as website visitors, downloading files from the website, uploading files to the cPanel etc. In this example we've set 10240 (mb) which is 10GB of disk space
Max FTP Accounts: This will set a limit of how many FTP accounts can be created on the cPanel account using this package. In this example we've set it to a max of 5 FTP accounts.
Max Email Accounts: This will set a limit of how many Email Addresses / accounts can be created on the cPanel account using this package. In this example we've set it to a max of 5 Email accounts.
Max Quota per Email Address: This sets the maximum disk space an email address can use on the cPanel. In this example we've set it to unlimited, meaning that email addresses can use as much disk space as they want, up to the overall cPanel disk quota (in this case 1GB)
Max Email Lists: This sets the limit of how many email mailing lists can be created on cPanel. For this example we've set it to 0 so none can be created.
Max Databases: This sets the limit of how many databases can be created on cPanel. This is normally tied to how many websites you want a user to have on their cPanel. In this case we've set it to 1 database, which would be equal to allowing 1 WordPress site on the cPanel account using this package.
Max Sub Domains: This sets the limit of how many sub domains can be created on cPanel (for example staging.yourdomain.com, test.yourdomain.com etc).
Max Parked Domains: This sets the limit of parked domains (domain aliases) that can be added to the cPanel. Domain aliases point to the primary domain on the cPanel.
Max Addon Domains: This sets the limit of addon domains that can be added to the cPanel. This is for adding additional domains to cPanel (for example: mydomain2.com mydomain3.com etc)
Maximum Hourly Email by Domain: This sets the limit of how many emails the domain on the cPanel account can send per hour. We would normally advise to set a limit here (in our example we've set it to 100 emails per hour) to ensure that if an email address starts sending spam or a high volume of email, the server does not become blacklisted by mail filters.
Maximum percentage of failed or deferred messages a domain may send per hour: This sets the limit of how many percent of sent emails from the domain can fail within an hour. In this example we've set it to 80, so this would mean the system will allow up to 80% of emails sent within an hour to fail (bounce-back) or defer (re-try sending automatically over a 24-48hr period). Once it then goes above 80% the system automatically limits email sending for the hour.
Once the resources are set, the final options are within the 'Settings' box.
Here you can either leave these as their defaults (as shown in the example below), or enable / disable as needed.
Dedicated IP: This enables you to set a dedicated IP (if any are available on the server). Any cPanel then using this package would be set to use the associated IP address
Shell Access: If enabled, this allow the cPanel user to access their hosting via SSH / Terminal.
CGI Access: If enabled, this allows the usage of cgi-scripts within the cPanel.
Digest Authentication at account creation: If enabled, this allows access of the cPanel Web Disk via unencrypted connections and plain text authentication.
cPanel Theme: The theme you would like cPanel to use. paper_lantern is the current default cPanel theme, however if you have installed or modified a custom theme, this can be selected here.
Feature List: If you have created a custom feature list (this allows you to adjust what cPanel features users can see / access on their cPanel), then this can be selected here.
Locale: The default Language you want cPanel set to, if using this package.
Once done, click on the 'Add' button at the bottom of the page. Once this package has saved you will see a green Success! message appear.
You can now use the new package when creating new cPanel accounts, or adjust existing cPanel accounts to the new package.
Although data persistence is almost always a fundamental element of applications, Node.js has no native integration with databases. Everything is delegated to third-party libraries to be included manually, in addition to the standard APIs. Although MongoDB and other non-relational databases are the most common choice with Node because if you...