Question: How to setup Hosting Controller v9 with WHMCS?
Answer: Hosting Controller is integrated with WHMCS for billing. The integration allows seamless provisioning of Shared Hosting (Windows/Linux), Exchange Mail Only Hosting, virtual machines etc. For a complete tutorial please visit this Link.
On the machine where WHMCS is installed, create a folder with name "HC" at WHMCS\modules\servers\ path. Then download the required files to configure WHMCS with Hosting Controller. These required files can be downloaded from this link:
This zipped archive WHMCS-HC.zip contains 3 files "HC.php","hcsettings.xml" and "readme.txt" respectively. You can copy HC.php and hcsettings.xml files in the HC folder created inside the WHMCS installation path at \modules\servers\HC (view readme.txt file for tags description of hcsettings.xml file).
For configuration of WHMCS with Hosting Controller, HCAPI must be configured on one of the Windows machines. To enable HCAPI, view the instructions below:
There are 2 ways to enable HCAPI:
i) Enabling HCAPI within the HC panel on a website
ii) Enabling HCAPI manually in IIS
i) Enabling HCAPI within HC panel on a website: HC API can be enabled on a website in the Panel at the host level by navigating the menu: Panel Configuration :: Configure Services :: API Configurations at the host level in the HC panel.
ii) Enabling HCAPI manually in IIS: If you do not have a Webserver(IIS) role configured on any of your server in HC cluster then you can follow the manual steps given below for creating API endpoint:
- Open IIS and then create a web application with the name HCAPI under Default Website.
- Point this web application Home Directory path as : C:\Program Files\HostingController\API\Webservice
- Select UserManager.asmx as the Default Document for this web application.
- Run this HCAPI under HCAppPool application pool by changing its application pool from IIS >> Default Website >> HCAPI >> Manage Application >> Advanced Settings.
These steps will create a web application with the name of HCAPI under the default site in IIS and will be accessible from http://yourip/hcapi/usermanager.asmx