WHMCS is the long-standing billing and automation platform for web hosting businesses: it handles products, orders, invoices, payments, support tickets and automatic provisioning of cPanel accounts, VPS, game servers and domains. Because it holds customer details, payment records and API credentials for every server you manage, it is also one of the most security-critical systems in a hosting company. This guide covers hosting it properly on a VPS.
Requirements
- A supported PHP version with required extensions, as listed in WHMCS's current system requirements.
- The ionCube Loader, since WHMCS is encoded.
- MySQL or MariaDB.
- A web server (Nginx or Apache) with HTTPS.
- A valid WHMCS licence tied to your domain and server IP.
- A system cron scheduler.
Always check the requirements for the exact WHMCS version you install, especially the supported PHP versions.
Keep WHMCS on Its Own VPS
Do not install WHMCS on a server that hosts customer websites. A compromised customer site could otherwise reach your billing system and the credentials it stores for every server. A small dedicated VPS for WHMCS limits that risk and simplifies hardening.
Installation Outline
- Provision a VPS, update it and configure a firewall (see our UFW guide).
- Install Nginx or Apache, PHP-FPM with required extensions, ionCube Loader and MariaDB.
- Obtain a TLS certificate (see our Let's Encrypt guide).
- Upload WHMCS, run the installer, then remove the install directory.
- Move the attachments, downloads and templates_c directories outside the web root where WHMCS recommends.
- Set up the cron job.
Cron Automation
WHMCS's automation (invoice generation, payment reminders, suspensions, terminations, domain sync and ticket imports) depends on its cron job, usually run every five minutes. Run it as the web user with the correct PHP binary, check the automation status page regularly, and alert if it stops running. Our cron guide covers scheduling.
Provisioning Modules
Modules connect WHMCS to your infrastructure: cPanel/WHM, DirectAdmin and Plesk for shared hosting, Virtualizor, Proxmox or VirtFusion for VPS, Pterodactyl for game servers, and registrar modules for domains. Use API tokens with the minimum permissions each module needs, restrict API access by IP where the target system supports it, and test provisioning, suspension and termination before launch.
Payments and GST for Indian Businesses
- Configure payment gateways that support Indian customers, such as those offering UPI, cards and net banking, through official or reputable WHMCS modules.
- Set up tax rules for GST and include your GSTIN on invoices; take advice from your accountant on exact requirements.
- Use INR as the default currency for Indian customers, with other currencies if you sell abroad.
- Test payments, refunds and callbacks in sandbox mode first.
Hardening WHMCS
- Rename the admin directory and restrict it by IP or VPN.
- Enable two-factor authentication for all admin users and limit admin roles.
- Keep WHMCS, PHP, modules and themes updated; apply security patches promptly.
- Use strong, unique database credentials and keep MariaDB on localhost.
- Protect the configuration file permissions and secure cron output.
- Monitor admin logins and failed attempts.
Backups
Back up the database and the WHMCS files (including configuration, attachments and custom templates) daily, encrypted, to off-server storage, and keep several versions. Test a restore on a staging VPS periodically; a billing system you cannot restore is a business-ending risk.
Updates
Before updating WHMCS, read the release notes, take a backup, check that your modules and theme support the new version, and update on a staging copy first. Keep custom changes in hooks and custom templates rather than editing core files.
Sizing
| Business size | Suggested plan |
|---|---|
| Up to a few thousand clients | 2 vCores / 8 GB |
| Large client base with heavy automation and ticketing | 4 vCores / 16 GB |
Alternatives
Open-source alternatives such as Paymenter offer billing and provisioning without licence fees; see our Paymenter guide. Our hosting company guide covers the wider business setup.
Example: A Game and VPS Host
A small host sells Pterodactyl game servers and VPS. WHMCS runs on a 2 vCore VPS separate from all customer infrastructure, with the admin area accessible only over the team's VPN and two-factor authentication. Provisioning modules create game servers and VPS automatically after UPI payment, GST invoices are generated on payment, and encrypted backups go to object storage every night.
Common Mistakes
- Installing WHMCS on a shared hosting server with customer sites.
- Leaving the admin area open to the internet without 2FA.
- A broken cron job that silently stops invoicing and suspensions.
- Editing core files, making updates painful.
- No tested backup.
In Short
Run WHMCS on its own hardened VPS with supported PHP, ionCube and MariaDB, keep cron healthy, connect provisioning modules with least-privilege tokens, configure Indian payments and GST, update carefully and back up daily off-server.
Keeping WHMCS Fast
A slow client area frustrates customers and staff. Use a supported, current PHP version with OPcache enabled, give MariaDB enough buffer pool memory for the WHMCS database, and keep the activity log, module log and email log pruned according to your retention policy so tables do not grow without limit. Disable module debug logging once integrations are working. Serve static assets with caching headers and consider a CDN for the client-area theme. If automation tasks take a long time, check the cron output for slow modules, such as domain synchronisation with many domains, and spread heavy tasks across the day.
Staff Accounts and Audit
As the team grows, give each person their own admin account with a role that grants only the permissions they need: support staff can manage tickets and view services without access to payment gateway settings or module credentials. Review admin accounts when people join or leave, keep two-factor authentication mandatory, and periodically review the admin activity log for unexpected actions. These controls protect both customers and the business if an account is ever compromised.
SkyRainCloud Plans for This Workload
WHMCS is a PHP application with modest needs: 2 vCores / 8 GB runs it comfortably with MySQL. Keep it on its own VPS, separate from customer servers, for security.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.
Frequently Asked Questions
Can I host WHMCS on a VPS?
Should WHMCS share a server with customer websites?
What does the WHMCS cron do?
How often should the WHMCS cron run?
Can WHMCS accept UPI payments?
Can WHMCS produce GST invoices?
How do I secure the WHMCS admin area?
Which provisioning modules are common?
Is there a free alternative to WHMCS?
Which plan suits WHMCS?
Related Guides
- Dedicated Server for Hosting Companies
- VPS Hosting for Paymenter Billing Systems
- How to Start a Hosting Company Using VPS Servers
- How to Deploy a Laravel Application on a VPS with Nginx and PHP-FPM
- How to Schedule Tasks on a Linux VPS with Cron
- VPS vs Dedicated Server for Hosting Resellers: Which to Build On?