
Linking your reseller server to WHMCS enables automated provisioning, simplifying the management of hosting accounts. This guide outlines the steps to integrate a WHM/cPanel server module into WHMCS, ensuring seamless account creation, suspension, termination, and more.
Prerequisites
Before you begin, ensure you have:
- WHMCS Installed: A fully configured WHMCS installation.
- Reseller Access: WHM/cPanel reseller access with API permissions.
- Server Details: Hostname or IP address of the server and WHM reseller username.
- SSL Certificate: An SSL-secured WHMCS installation for secure data transfer.
How to Link Your Reseller Server to WHMCS for Automated Provisioning
-
Generate API Token in WHM
WHMCS uses an API token to communicate with your WHM server.
- Log in to your WHM account.
- Navigate to Development β Manage API Tokens.
- Click Generate Token.
- Enter a token name (e.g., βWHMCS Integrationβ) and configure optional expiration and IP restrictions.
- Set the tokenβs permissions (e.g., full reseller privileges).
- Click Create and copy the API token. Store it securely as it wonβt be shown again.
-
Add the Server in WHMCS
Now, configure your WHMCS installation to recognize your WHM server.
- Log in to your WHMCS Admin Dashboard.
- Navigate to Apps & IntegrationsΒ using the drop-down menu in top right corner of WHMCS Admin area:
- Click SearchΒ from the horizontal menu and type βcPanelβ in the search field. Select cPanel & WHM from the results:
- Click Create New ServerΒ from the βcPanelβ popup screen:
- Fill in the required details:
- Hostname: Enter the server hostname or IP address.
- Username: Enter your WHM username (your reseller username).
- Password: Leave this field blank.
- API Token: Paste the API token you generated.
- Click Test Connection to verify the server credentials. If successful, proceed to the next step.
- Scroll down and configure the NameserversΒ for your server, then Save Changes:
-
Configure the Server Group (Optional)
If you have multiple servers, you can organize them into a server group.
- Go to Configuration β System Settings β Servers.
- Click Create New Group.
- Assign a name to the group and add your server(s) to it.
- Configure the Fill Type:
- Fill: WHMCS fills one server before moving to the next.
- Load Balance: WHMCS distributes accounts across servers evenly.
- Save the group.
-
Set Up a cPanel Product in WHMCS
To enable automated provisioning, create a hosting product linked to your server.
- Navigate to Apps & IntegrationsΒ using the drop-down menu in top right corner of WHMCS Admin area:
- Click SearchΒ from the horizontal menu and type βcPanelβ in the search field. Select cPanel & WHM from the results:
- Click Create New ProductΒ from the βcPanelβ popup screen:
- If there is no product group, click Click here to create a new product group:
- Configure the Product Group by giving it a name, choosing a cart template, and saving it:
- Return to creating the product. Choose Shared Hosting type, give the product a name, ensure the cPanel module is selected, then click Continue:
- On the following screen, navigate to the Module Settings tab and configure the Server Group, WHM package name (See guide: Add A Hosting Package in WHM), set the automation, and click Save Changes:
- Thatβs it. The server connection is complete. Of course, there are many more settings that can be configured, but this is beyond the scope of this guide.
- Navigate to Apps & IntegrationsΒ using the drop-down menu in top right corner of WHMCS Admin area:
-
Test the Configuration
Ensure everything is working correctly by placing a test order.
- Create a test client in WHMCS.
- Order the product you just configured.
- Check the following:
- WHMCS creates the account in WHM.
- The account is visible in WHM β List Accounts.
- WHMCS sends an automated welcome email to the client.
-
Automate Account Management
WHMCS can automate other account management tasks.
- Navigate to Configuration β System Settings β Automation Settings.
- Set up automation for:
- Account Suspension: WHMCS suspends overdue accounts.
- Account Termination: WHMCS terminates long overdue accounts.
- Cron Job: Configure the WHMCS cron job to run daily to manage tasks.
Troubleshooting
If you encounter issues:
- Connection Error: Verify the hostname/IP, username, and API token.
- Provisioning Failure: Ensure the WHM package name matches the product settings in WHMCS.
- SSL Issues: Confirm both WHM and WHMCS installations are using valid SSL certificates.
Best Practices
- Regularly rotate your API tokens for security.
- Monitor server resource usage to avoid overloading.
- Keep your WHMCS and WHM installations updated.
By following this guide, you can seamlessly integrate your WHM/cPanel reseller hosting account with WHMCS, enabling efficient and automated hosting account management.
Conclusion
You now know how to link your reseller server to WHMCS for automated provisioning.
β Easy Website Management with cPanel Support
Running a business is hard enough β managing your website shouldnβt be. Thatβs why we include full cPanel support with every hosting plan:
- β Simple Dashboard β No tech skills needed. Easily manage your website, emails, and more from one place.
- β Quick App Installs β Launch WordPress, shopping carts, or other tools with just one click.
- β Professional Email β Create business email addresses (like you@yourbusiness.com) in minutes.
- β Reliable Backups β Keep your website safe with easy-to-use backup and restore options.
- β Secure & Protected β Manage your siteβs security and SSL certificates with built-in tools.
- β Real Help, Anytime β Our expert support team is available 24/7 for anything you need.
π¬ What Our Customers Say
βI have had nothing but good experiences with Rad Web Hosting. The staff is there to help you to make sure that you stay online and I haven't had any downtime with my server in the time I have been with Rad Web Hosting and I have had my server for over two years.β
β Janice L., Owner of RJGM
π Trusted by Small Business Owners Nationwide
π Get Started Today
Take the stress out of website management. With cPanel support and expert help just a click away, you can focus on what matters most β growing your business.
Choose Your Plan Now























[β¦] WHMCS integration for automated billing and [β¦]
[β¦] Link WHMCS to your hosting control panel (e.g., cPanel/WHM, Plesk). [β¦]