WHMCS Setup & Hosting Guide

Step-by-step instructions on installing and configuring WHMCS for web and game hosting

Table of Contents

1. Installation & Configuration

System Requirements​:contentReference[oaicite:0]{index=0}: Ensure a LAMP stack (Linux, Apache, MySQL/MariaDB, PHP) and meet WHMCS’s minimum requirements:

Installing WHMCS​:contentReference[oaicite:1]{index=1}:

  1. Purchase a license and download WHMCS from the official site.
  2. Upload & extract the WHMCS files to a folder or subdomain on your server.
  3. Create a new database and user (via cPanel or your DB tool).
  4. Browse to install/install.php and follow the steps (accept license, enter license key, database info, create admin account).
  5. Delete or rename the install directory for security, then set proper file permissions.

After installation, configure your General Settings (company details, email settings, domain/URL, invoices, etc.). This ensures WHMCS has your correct branding, system URLs, and mail configuration​:contentReference[oaicite:2]{index=2}.

2. Integration with Hosting Providers

To sell hosting, you need a reseller hosting account or a dedicated server where WHMCS can auto-create new hosting accounts​:contentReference[oaicite:3]{index=3}.

Choosing a Reseller Program

Many providers (HostGator, ResellerClub, InMotion, A2 Hosting, etc.) offer white-label reseller packages with cPanel/WHM. Often these include a WHMCS license discount. Look for reliability, resource allocation, and good support​:contentReference[oaicite:4]{index=4}.

Connecting WHMCS to cPanel/Plesk/DirectAdmin

  1. Go to Configuration > System Settings > Servers and click “Add New Server.”
  2. Select the module that matches your panel (cPanel, Plesk, DirectAdmin).
  3. Enter hostname (or IP) and API credentials (often root/API token for cPanel).
  4. Click Test Connection to verify.
  5. Save and optionally mark this server as default.

With the server connected, create a hosting product in Products/Services, select the module (e.g., cPanel), and specify either a package name from WHM or custom resource limits​:contentReference[oaicite:5]{index=5}.

Automatic Provisioning

In each product’s settings, under Module Settings, choose when to “Automatically setup the product” (often “On Payment”). Clients are automatically sent a welcome email, and WHMCS creates/suspends the account on your server as needed​:contentReference[oaicite:6]{index=6}.

3. Billing & Automation Setup

Payment Gateways

WHMCS supports PayPal, Stripe, Authorize.Net, and many others​:contentReference[oaicite:7]{index=7}.

Automating Invoices & Reminders

In Configuration > System Settings > Automation Settings, configure:

Ensure the cron job is set up (usually php -q /path/to/whmcs/crons/cron.php) to run at least once daily. This handles billing cycles, domain sync, and more​:contentReference[oaicite:8]{index=8}.

Promotions & Pricing

Define recurring prices for each billing cycle on your product pages. You can also create Coupons (e.g., 20% off) or Promotions under Promotions to encourage signups. Configure these to apply only to certain products or cycles​:contentReference[oaicite:9]{index=9}.

4. Game Server Hosting Integration

For game hosting (Minecraft, ARK, CS:GO, etc.), use a specialized game panel like TCAdmin or Pterodactyl​:contentReference[oaicite:10]{index=10}.

TCAdmin Setup

  1. Install TCAdmin on your Windows/Linux game server.
  2. In WHMCS, Configuration > Servers, add a server using the TCAdmin module.
  3. Enter your TCAdmin panel URL, admin/API credentials, and enable the billing API in TCAdmin.
  4. Test connection, then create WHMCS products mapped to specific game configurations.

Pterodactyl Setup

  1. Install Pterodactyl (Docker-based) on your server.
  2. Add a Pterodactyl server in WHMCS after installing the module (from GitHub or third-party source).
  3. Use the Pterodactyl Admin panel to generate an API key; enter it in WHMCS’s server settings.
  4. Create products specifying the “egg” (game config), node, RAM, and so on.

Once set, new orders automatically provision a game server instance. Customize your Welcome Email to include server IP/port and panel login details​:contentReference[oaicite:11]{index=11}.

5. Security and Compliance

SSL & Securing Client Data

Always run WHMCS over HTTPS with a valid SSL certificate​:contentReference[oaicite:12]{index=12}.

Fraud Protection

Use FraudLabs Pro or MaxMind integration to screen new orders for fraud​:contentReference[oaicite:13]{index=13}.

GDPR & Data Privacy

If you have EU customers, be mindful of GDPR​:contentReference[oaicite:14]{index=14}:

6. Customer Support & Management

Support Tickets & Departments

WHMCS includes a built-in ticket system​:contentReference[oaicite:15]{index=15}:

Live Chat (Optional)

Integrate live chat via:

This can boost sales conversions and provide quick client help.

Client Management Dashboard

Each client has a profile with billing, services, domains, and tickets. You can “Login as Client” to see what they see. Consider customizing the client area to match your brand and make it easy for clients to manage their services and pay invoices​:contentReference[oaicite:16]{index=16}.