Configure Resource Limits per Account in WHM
As a hosting provider or reseller under the PlatiniumHost infrastructure, efficient resource management is fundamental to offering a quality service, maintaining server stability, and ensuring the profitability of your business. WHM (Web Host Manager), the server administration panel that accompanies cPanel, allows you to precisely define and control resource limits for each of the accounts you create for your clients. This article will guide you through the process of configuring disk quotas, bandwidth, and databases, among others, ensuring fair distribution and optimal performance.
Why configure resource limits?
Establishing resource limits is not just good practice; it's a necessity for any serious hosting reseller. Here are some key reasons:
- Fairness and Stability: Prevents a single account from consuming a disproportionate amount of resources, affecting the performance of other accounts on the same server.
- Abuse Prevention: Limits the potential for misuse of resources, such as storing illegal files or sending mass spam.
- Clear Business Models: Allows you to offer different hosting packages with distinct capacities, adapting to your clients' needs and budgets. This is crucial for a PlatiniumHost reseller.
- Resource Management: Helps you plan your server capacity and identify when it is necessary to scale or upgrade your reseller plan.
Accessing WHM
Before you begin, you will need to access your WHM panel. Generally, you can do so via the URL
https://your_domain.com:2087 or https://your_server_ip:2087,
using the credentials provided by PlatiniumHost.
Creating or Editing Hosting Packages
The most efficient way to manage resource limits in WHM is through the creation and management of hosting packages. A package is a predefined set of limits and configurations that you can assign to multiple cPanel accounts.
Create a New Package
To create a new package, follow these steps:
- From the WHM main page, in the sidebar search bar, type 'Packages' and click on 'Add a Package'.
- You will be presented with a form to define the limits of the new package. Here are the most important fields:
- Package Name: A descriptive name for your package (e.g., 'Basic Plan', 'PlatiniumHost Pro').
- Disk Quota (MB): The maximum amount of disk space the account can use, including website files, emails, and databases. It is measured in Megabytes (MB). For example, 10240 MB is equivalent to 10 GB.
- Bandwidth (MB): The maximum amount of data transfer (uploads and downloads) that the account can consume monthly. Also in Megabytes (MB).
- Max FTP Accounts: The maximum number