Home Features Pricing
Resources
Company 🟢 Live Demo
Free Lifetime Get License

WHMCS Plugin

Automate hosting account provisioning, suspension, and termination directly from WHMCS using the official HPanel server module.

Download WHMCS Module

Compatible with WHMCS 8.x and newer

Features

  • Automatic Provisioning — Hosting accounts created instantly when orders are accepted
  • Package Sync — Automatically fetches hosting packages from your HPanel server
  • Single Sign-On (SSO) — Clients log into HPanel directly from WHMCS without re-entering credentials
  • Quick Access Links — File Manager, Databases, SSL, DNS, Email, Cron Jobs accessible with one click
  • Webmail Access — Direct webmail link in the client area
  • Account Management — Suspend, unsuspend, and terminate accounts from WHMCS
  • Password Sync — Password changes in WHMCS sync to HPanel automatically
  • Admin SSO — Access HPanel admin panel directly from the WHMCS server list

Installation

Step 1: Download & Extract

Download the module ZIP and extract it:

hpanel.zip
└── servers/
└── hpanel/
├── hpanel.php
├── lib/
│ └── HpanelApi.php
└── templates/
└── clientarea.tpl

Step 2: Upload to WHMCS

Upload the hpanel folder to your WHMCS installation:

/path/to/whmcs/modules/servers/hpanel/

Step 3: Add Server in WHMCS

  • Go to WHMCS Admin → Setup → Servers → Add New Server
  • Set Name: Your server name (e.g., "HPanel Server 1")
  • Set Hostname: Your panel domain (e.g., panel.yourdomain.com)
  • Set IP Address: Your server's IP address
  • Set Server Type: Select Hpanel from the dropdown
  • Set Username: root
  • Set Password: Your server's root password
  • Set Secure: ✅ Tick this (uses HTTPS port 2057)

Step 4: Create a Product

  • Go to Setup → Products/Services → Create a New Product
  • Under Module Settings, select Hpanel
  • Select your server from the dropdown
  • Choose a Hosting Package — packages are automatically fetched from your HPanel server

Step 5: Test

Place a test order and accept it. The hosting account should be created automatically on your HPanel server. The client can then access HPanel via the "Login to HPanel" button in the WHMCS client area.

Client Area Preview

Once installed, your clients will see a branded HPanel management area inside WHMCS with SSO login, quick access links, and server information:

  • Login to HPanel — One-click SSO login to the user panel
  • Open Webmail — Direct access to webmail on port 2059
  • Quick Links — File Manager, Databases, SSL, DNS, Email, Cron Jobs
  • Server Info — Username, domain, package details

Troubleshooting

Module not appearing in server type dropdown

  • Make sure the folder is named exactly hpanel (lowercase)
  • Verify hpanel.php exists inside modules/servers/hpanel/

"Could not connect to server" error

  • Check that port 2057 is accessible from your WHMCS server
  • Verify the hostname/IP is correct
  • Make sure Secure is ticked (HTTPS)

Packages not loading

  • The server must be saved and connected first
  • Create at least one package in HPanel admin before configuring the product