CloudLinux - Integrating cPanel with KuberDock with WHMCS
Getting started with KuberDock


This article explains how to integrate KuberDock with cPanel and WHMCS.

Start from making sure WHMCS is integrated with cPanel. If it is not, Perform the following steps:

Go to Setup, find Products/Services section and choose Servers. Click Add new server and fill in the proper fields:

In Add server section specify:

  • Name - cPanel instance name;
  • Hostname -- leave blank;
  • IP Address -- cPanel server IP address.

In Server details section specify:

  • Type - choose cPanel from drop-down menu;
  • Username & Password - cPanel server credentials for the user with permission to create/delete users.

Then add a group of cPanel servers. Go to Setup section, choose Products/Services then choose Servers. Click Create new group:

In Name field specify cPanel. In the Selected Servers list on the left choose a server that you just have added and click Add. When done, click Save changes.

Go to Setup section, choose General Settings and click on Security tab. In API IP Access Restriction section click Add IP, specify cPanel server IP address to locate cPanel KuberDock add-on in a pop-up window, and click Add IP. Now the access to WHMCS API from cPanel server should be granted.

When done, click Save Changes.

So that, we have cPanel server integrated with WHMCS. Configured billing Packages and Kube Types are available for customers to allocate resources for their applications in cPanel.

Now let’s Go to cPanel server and install the KuberDock plugin. Navigate to Service Configuration, choose Apache configuration and click Include Editor. In Pre Main Include section choose All Versions from the drop-down menu. In the text editor, start a new line and add ProxyPreserveHost On directive, and click Update.

On the next page, click Restart Apache to make sure all changes are applied.

Log in to cPanel server console as root using your preferred terminal application, download and install KuberDock command line support release package

bash ./

During the installation, supply the script with the KuberDock master server address and admin credentials:

Enter KuberDock host name or IP address:
Enter KuberDock admin username and password:

... so that, you have your KuberDock cluster, cPanel server and WHMCS mutually integrated so you can sell docker-based applications, start them by clicking on their icons in control panel and utilize proxying of web applications to reduce the number of public IPV4 addresses required.