# How To Set Up Web Hosting Packages In WHMCS

> In this tutorial, I’ll walk you through setting up web hosting packages in both the back-end and front-end of your site using WHMCS.

- Author: [Ryan Gray](https://www.namehero.com/blog/author/ryan-gray/)
- Published: 2024-09-29
- Updated: 2024-09-29
- Category: [Reseller Hosting](https://www.namehero.com/blog/category/resellers/)
- Web page: https://www.namehero.com/blog/how-to-set-up-web-hosting-packages-in-whmcs/

[![](https://blogcdn.namehero.com/blog/wp-content/uploads/2024/09/29114445/whmcs-1024x576.jpg)](https://blogcdn.namehero.com/blog/wp-content/uploads/2024/09/29114445/whmcs.jpg)

Welcome back to our WHMCS tutorial series! If you’ve been following along, I’m showing you how to fully automate the provisioning of services for your managed service provider or reseller hosting business using WHMCS. With a **limited-time offer**, we’re including a **WHMCS license** with our **Turbo, Plus, and Business CloudShield** packages.

From a business standpoint, WHMCS is incredibly powerful. It’s not just for provisioning web hosting and domain services, but it’s also a full billing system, handles invoicing, integrates a front-end website, and includes a ticketing system and knowledge base.

### **What We’ve Covered So Far:**

- [How to Get Your Free WHMCS License and Install the Software](https://www.namehero.com/blog/get-a-free-whmcs-license-with-nameheros-cloudshield-limited-time-offer/)
- [How to Add a cPanel Server to WHMCS](https://www.namehero.com/blog/how-to-add-a-cpanel-server-to-whmcs/)

In this tutorial, I’ll walk you through setting up web hosting packages in both the **back-end** and **front-end** of your site so that your customers can begin purchasing and using your services.

### **Step 1: Create Hosting Packages on Your CloudShield VPS**

Before diving into WHMCS, you need to create the hosting packages on your **CloudShield VPS** where the accounts will reside. For this example, I’ll set up a **Starter** package similar to what we offer at **NameHero**, but you can modify it as needed for your business.
  ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfBPMnptpduZio2S4p4lKHNrG-MUsOvSjvEu7XsSyCiH94UNb6uxGhb-6mbUNlTioAHlIffjD9AzFFIW2egCgGgn8LlEZDjjGEInZ6bJQtDwfU7RtKBKo7nudSkooaoY14wtwUGAh-4gey_XoAHQAGYbP2A?key=3JI0wkS1p9MbqDfcNJ51kw)

**To create a hosting package in WHM:**

1. Log in to your **NameHero Client Portal**.
2. Navigate to your **CloudShield VPS** product.
3. Click the **orange WHM login button**.

Inside Web Host Manager (WHM), search for **“Add a Package”** in the left-hand sidebar and click on it.
  ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcWUiNhBpnWsYJE6AyQ8ULC6hAiOTWNAdkMK8Da-YXP-wU6DCu6-LY3lpbEEFVLWSMoNjWeYMmQyECJr7C0Ve2BTEh8hJ72yXKpfmffOQEZbCV6O5jtC30Rc1cyjsWsQ6gxYIcccQ_nao_wbj-3ZFMVg6A?key=3JI0wkS1p9MbqDfcNJ51kw)

---

#### **Example: Setting Up the ‘Starter’ Package**
  ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXck0DEQmMrQ6kmpIx1anm_vgZ4JERMqF8crFZIlXz_WrdFRkat0KTKttteuENJFkV-1ZMR2waDC-u08phZxs9ldJQyrLMGC9XWMtTziuO6TATG7T-MwU5LjM3zdfcZ2N-VMxRvzuy-TRdqAVuAPoDrYSPaK?key=3JI0wkS1p9MbqDfcNJ51kw)

You’ll want to configure the following resource limits based on the package you are offering:

- **Disk Space Quota**: This is the total space the customer can use for website files, emails, and databases. I’ve set this to unlimited for flexibility, but you can assign a quota to encourage upgrades. The beauty of **CloudShield** is that you can oversell and scale as needed.
- **Monthly Bandwidth Limit**: Another resource you can set to unlimited or cap to push higher-tier packages. Bandwidth caps are especially useful for business or e-commerce clients.
- **Max FTP Accounts**: Set this based on customer needs. There’s no real benefit in capping it, but you can if you like.
- **Max Email Accounts**: I suggest limiting this based on your disk quota. Remember, many customers never clean their inbox, so it can quickly eat up space.
- **Max Mailing Lists**: This allows customers to create mailing lists (e.g., for newsletters), though many people now use third-party email marketing services.
- **Max SQL Databases**: Websites often need at least one database (e.g., WordPress), so decide how many you’ll offer. Limiting the number of databases can encourage customers to upgrade.
- **Max Parked Domains**: If customers own multiple domains but want them all pointing to the same website, this limit will control how many can be parked.
- **Max Add-on Domains**: For packages like **Starter**, you might not allow any add-on domains, limiting customers to one website. This limit often influences upgrades.
- **Max Passenger Applications**: Passenger is essential for deploying web applications built with Ruby, Python, or Node.js. Set this based on whether you want to allow such applications.

*Security and Email Limits:*

- **Max Hourly Emails by Domain**: I recommend setting this low for entry-level packages to prevent abuse or spamming.
- **Maximum Failed or Deferred Messages per Hour**: If spamming is likely, a high percentage of outbound emails will fail. I set this at 100%, but 25% is more realistic to prevent abuse.
- **Max Quota per Email Address (MB)**: To prevent a single email account from hogging disk space, set a limit per mailbox. Adjust based on the package tier.

---

#### **Package Extensions: CloudLinux LVE Limits**

The power of **CloudLinux** is its ability to isolate users and allocate server resources via **LVE** limits. This keeps a single customer from consuming too many resources or crashing the server.

For the **Starter** package, I recommend the following settings:
 ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeeUqj3VkE3XqCSdXMunESAUesBf4C0MBiomfGfITBdykQEVvzZpSrPNqc6ftkQAqF97OH28xQsDC7CbZPjWeTuPL3OyWoLO3klFLSI8kRyPmaejETaSl3SsDHL4a4GW6FbmVdD85GutfxkKX2TwmD3VNsX?key=3JI0wkS1p9MbqDfcNJ51kw)

- **Speed Settings**: Set to **100%**, which equals 1 CPU core. You can increase this for higher-tier packages.
- **Memory Settings**: Set to **1GB** for lower packages. You can increase this based on the customer’s needs.
- **Max Entry Processes**: Limit concurrent connections to the website or scripts running. For **Starter**, I set it to **20**.
- **Nproc Settings**: Limits the number of processes (e.g., cron jobs, SSH sessions). **100** is usually a good start.
- **IO and IOPS Settings**: Controls disk read and write speeds. I use high-end NVMe drives, so I set higher values like **1024KB/s** for IO and **1024 IOPS**.
- **Inodes Limits**: Each file on the server uses an inode, so this limit prevents excessive file creation. For the **Starter** package, I recommend **100,000** for the soft limit and **250,000** for the hard limit.

CloudLinux suggests the following defaults, which you can adjust for higher-end packages:

- **Typical Hosting**: Speed 100%, PMEM 512MB, IO 1024KB/s, IOPS 1024, NPROC 100, EP 20
- **High-End Hosting**: Speed 200%, PMEM 1GB, IO 4096KB/s, IOPS 1024, NPROC 100, EP 40

Once you’ve set your package parameters, click **Add** to save it. If you have other packages to configure, repeat this process for each one before moving to WHMCS.

---

### **Step 2: Set Up Packages in WHMCS**

Now that the packages are ready on your VPS, it’s time to set them up in WHMCS so customers can see and purchase them from your site.

#### **To add a package in WHMCS:**

1. Log in to your **WHMCS Admin** area.
2. Navigate to **System Settings** > **Products/Services**.

Just like when adding a server in earlier tutorials, you’ll need to create a **Product Group** to organize your packages. These groups define how the products are displayed in your cart, so think about how you want them grouped (e.g., Web Hosting, Reseller Hosting, VPS Hosting).

---

#### **Creating a Product Group**
 ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXdeuyIF7u5vDjwCNhY8YItp0hLohKMUtTbWywqPBrPZjepod6iuzBwvJcw1YHpNzPtQkmqkQkBypOVG_qr7Hja9D1hE141B_JQNrzHbc5NiLlZl7gsdH7gF8OBUD1kJH_jmiAEP-ZOHOzbSOR66T7JjfaWM?key=3JI0wkS1p9MbqDfcNJ51kw)

- **Product Group Name**: This will appear in your site navigation and product listings.
- **Product Group Headline** and **Tagline**: Use these optional fields to highlight key features.
- **Order Form Template**: Choose a layout that works for you. Each product group can have a unique form.
- **Payment Gateways**: During the initial setup, we enabled **PayPal**. You can add more gateways later.
- **Hidden**: If you don’t want these packages visible on the live site yet, check this box.

Click **Save Changes**.

---

#### **Adding a Product**
 ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXeBgtDNQnYgvBKTyB8TxnFxdwVsJHeWnrA0gIyFuOgNy3UdBBJNPmEHEAqpqVJOa8S3RK_OTxczG7GrAoSwh8Mq8pB32QQ0r_KBL1gmxFO_MdI-HFlybgSK8In-M9-Hs8PMwIOM-z3vC3dKmwKtW9Kk4drt?key=3JI0wkS1p9MbqDfcNJ51kw)

Return to the **Products/Services** screen and click **Create a New Product**.

Select **Product Type** (e.g., Shared Hosting for basic web hosting) and assign it to the product group you just created.

Name the product (e.g., **Starter Package**) and select **cPanel** as the module to handle provisioning.

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXePy2m6jveujb3UxrfiHE8AL6m0iR9jqwGz-4jsVlmNg4X_BdTTXH6t_f_faxE1gVUiuCSMtIsa76HAOrgMyzfUpcX09n7xpJ1j87jB0mWwL3TcP4cekGwlJ6n3FsIRE7RVUTu0N1TcpTpCt_VhiUU4Tg?key=mTE4lRI11TQwfIAMQbeTeA)

---

### **Pricing and Module Settings**

Next, configure **pricing**. Here’s a breakdown of the options:

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXd3N_ENXiGnj8HDeD4ZmJ9F1hmEjgf6FOc0eHq6cld0a0BLNKD4ciehNo-RKjvpbZWLX_FVvyKAGMwOrqFGbgyu5wjUVb1GjE1ZM1RU5kNsqtUKmaVBt6DCeByRCm5kGG6QJ9hhcgO-DyrUsn9c0O_EjyA?key=mTE4lRI11TQwfIAMQbeTeA)

- **Payment Type**: Choose **Recurring** for monthly billing, though you can add other cycles like quarterly or annual.
- **Billing Cycles**: Set different prices for different payment terms. For example, give a discount for yearly payments.
- **Prorata Billing**: Useful if you want to bill everyone on the same date (e.g., the 1st of each month).

---

#### **Connecting Your cPanel Server**

In the **Module Settings** tab:

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcbPG4Ly5IZKOQvwJvn8LS7g0Qd4nqRplubEuubFD3U_3oeJTwLlIfVfmi9FLrwVaW1SC5IXgI04htol0k6qdzfWmNtJfz7pFpxdFaLYSDvPvZYuZrJR0Lfm4Nzb-U3ymCT4aSQpmeYVy-asBPvwA6xpp8Q?key=mTE4lRI11TQwfIAMQbeTeA)

- **Module Name**: Choose **cPanel** to automate provisioning.
- **Server Group**: Select the group you created in the earlier tutorial.
- **WHM Package Name**: Select the package you set up earlier in WHM.

You can also enable **Auto-Setup** so that the package is automatically provisioned once the customer’s payment is received.

---

### **Congratulations!**

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXc_EVf8_p_etCpwV2rjRZf6wm6m6cW1aiJQbPgVa4mGTAzRgqJ8ZY-X-aPXvMw-Ge4z5h5mXT-yTdBVuJMSe4s6jHcwyLIR0Twd9xeKP-x2g7ZqM5YH24bUtMKSuCmUStXuHM8_XOx02JMB0NwHje72yjCg?key=mTE4lRI11TQwfIAMQbeTeA)

You’ve now successfully created and set up a web hosting package in WHMCS. It’s live and ready for customers to purchase from your website.

Stay tuned for the next tutorial, where I’ll cover how to add more payment processors to expand your checkout options.

## Related posts

- [How to Create An Order Page In Blesta For Web Hosting Packages](https://www.namehero.com/blog/how-to-create-a-blesta-order-page-for-packages/)
- [How To Resell VPS Hosting Using WHMCS](https://www.namehero.com/blog/how-to-resell-vps-hosting-using-whmcs/)
- [Announcing New NVMe Reseller Hosting Packages](https://www.namehero.com/blog/announcing-new-nvme-reseller-hosting-packages/)
- [How To Create A Web Hosting Business With WordPress](https://www.namehero.com/blog/create-web-hosting-business-wordpress/)
