NEWUse coupon code SMX20 to get 20% OFF your first billing cycle on any game server or VPS!Explore Store

VPS HOSTING

VPS Hosting for WHMCS-Based Hosting Businesses

Run WHMCS on a VPS for a hosting business: requirements, licensing, PHP and ionCube, MySQL, cron automation, provisioning modules, Indian payment gateways and GST invoices, security hardening, backups, updates and sizing.

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

  1. Provision a VPS, update it and configure a firewall (see our UFW guide).
  2. Install Nginx or Apache, PHP-FPM with required extensions, ionCube Loader and MariaDB.
  3. Obtain a TLS certificate (see our Let's Encrypt guide).
  4. Upload WHMCS, run the installer, then remove the install directory.
  5. Move the attachments, downloads and templates_c directories outside the web root where WHMCS recommends.
  6. 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, ServoMix Game Panel 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 sizeSuggested plan
Up to a few thousand clients2 vCores / 8 GB
Large client base with heavy automation and ticketing4 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 ServoMix Game Panel 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.

ServoMix 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.

PlanvCoresRAMStorageNetworkPriceGood forBuy
SMX vPro XS (AMD EPYC)28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹420/moWebsites, small APIs, bots, staging and VPN serversOrder
SMX vPro S (AMD EPYC)416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹560/moWooCommerce, Node.js/Python backends, Docker Compose stacks, CI runnersOrder
SMX vPro M (AMD EPYC)832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹840/moProduction databases, high-traffic sites, multi-container appsOrder
SMX vPro L (AMD EPYC)1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹1,120/moLarge production workloads, SaaS platforms, analytics, in-memory cachesOrder

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.

PlanvCoresRAMStorageNetworkPriceGood forBuy
SMX vCore XS (Intel Xeon)28 GB DDR4 ECC40 GB NVMe SSD1 Gbps, unmetered₹270/moBusiness websites, small apps, scheduled jobs and botsOrder
SMX vCore S (Intel Xeon)416 GB DDR4 ECC80 GB NVMe SSD1 Gbps, unmetered₹1,169/monthBusiness software, mid-size databases, several sites on one serverCheck stock
SMX vCore M (Intel Xeon)832 GB DDR4 ECC150 GB NVMe SSD1 Gbps, unmetered₹2,249/monthERP/CRM stacks, heavier databases, multiple production appsCheck stock
SMX vCore L (Intel Xeon)1664 GB DDR4 ECC250 GB NVMe SSD1 Gbps, unmetered₹4,248/monthHigh-memory workloads and consolidated production serversCheck stock

Prices are monthly in INR as listed on the ServoMix 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?
Yes, a small VPS with PHP, ionCube Loader, MariaDB and HTTPS runs WHMCS well.
Should WHMCS share a server with customer websites?
No, keep it on its own VPS to limit the impact of a compromised customer site.
What does the WHMCS cron do?
It runs automation such as invoicing, reminders, suspensions, terminations and domain sync.
How often should the WHMCS cron run?
Usually every five minutes, as WHMCS recommends.
Can WHMCS accept UPI payments?
Yes, through payment gateway modules that support UPI.
Can WHMCS produce GST invoices?
Yes, with tax rules configured; confirm details with your accountant.
How do I secure the WHMCS admin area?
Rename it, restrict it by IP or VPN, enable two-factor authentication and limit admin roles.
Which provisioning modules are common?
cPanel/WHM, DirectAdmin, Virtualizor, Proxmox, VirtFusion, ServoMix Game Panel and registrar modules.
Is there a free alternative to WHMCS?
Paymenter is an open-source alternative.
Which plan suits WHMCS?
2 vCores / 8 GB for most hosting businesses.

Frequently Asked Questions

Can I host WHMCS on a VPS?

Yes, a small VPS with PHP, ionCube Loader, MariaDB and HTTPS runs WHMCS well.

Should WHMCS share a server with customer websites?

No, keep it on its own VPS to limit the impact of a compromised customer site.

What does the WHMCS cron do?

It runs automation such as invoicing, reminders, suspensions, terminations and domain sync.

How often should the WHMCS cron run?

Usually every five minutes, as WHMCS recommends.

Can WHMCS accept UPI payments?

Yes, through payment gateway modules that support UPI.

Can WHMCS produce GST invoices?

Yes, with tax rules configured; confirm details with your accountant.

How do I secure the WHMCS admin area?

Rename it, restrict it by IP or VPN, enable two-factor authentication and limit admin roles.

Which provisioning modules are common?

cPanel/WHM, DirectAdmin, Virtualizor, Proxmox, VirtFusion, ServoMix Game Panel and registrar modules.

Is there a free alternative to WHMCS?

Paymenter is an open-source alternative.

Which plan suits WHMCS?

2 vCores / 8 GB for most hosting businesses.

Was this article helpful?

Your feedback helps us continuously improve ServoMix guides.

Share this article

Know someone who may find this guide useful?

Host WHMCS on a VPS for Your Hosting Business | ServoMix