WHMCS CDN Enabler Plugin
Requirement
- WHMCompleteSolution (WHMCS). Only versions 4.2.1, 4.3.1 and 4.4.1 have been tested.
- Operator account at Aflexi.
Installation command
Run the following in the terminal console of theserver.
bash <(curl -L http://github.com/aflexi/thirdparty/raw/master/whmcs/webinstall.sh)
If the above command does not work, the alternative command is as below: -
curl -L -o webinstall.sh http://github.com/aflexi/thirdparty/raw/master/whmcs/webinstall.sh ; chmod u+x webinstall.sh ; ./webinstall.sh ; rm -f webinstall.sh
Upgrade
From Version 4.2.1 to 4.3.1
- No uninstallation is needed
- To upgrade, run the installation script as mentioned in the installation section above
From Version 4.3.1 to 4.4.1
- After upgrading of WHMCS, you would need to rerun the installation script as above.
- Please note that in 4.4.1, Aflexi plugin will apppear as "Legacy Module". You are required to activate the plugin and assign the proper access control to the plugin.
First Time Configuration

- Go to [Utilities]->[Addon Modules]
- Click [Aflexi Cdn]
- This setup page only appears if you have not setup the plugin before
- Key in your Aflexi account credentials
- Click [Save Settings]
- If the settings is successful, you will be redirected to synchronize page, which is the main page for the plugin.
- You may access this setup page again, via the [Setup Aflexi CDN Plugin] link in the main page
Usage
There are two completely different usages for using Aflexi WHMCS plugin, kindly refer the links and details below for further information:
- Aflexi Module: This allows you to create a completely standalone product/service in WHMCS. A client account is allowed with multiple orders of Aflexi CDN accounts.
- Aflexi Addon : This addon allows Aflexi CDN bundling with cPanel shared hosting account. Hence, this creates a seamless experience between WHMCS and cPanel. If you installed Aflexi cPanel plugin too, It will trigger a series of event to create the cPanel account and CDN account for publishers. Publisher will able to configure the CDN inside cPanel without login into Aflexi CDN portal.
