CDN Module Installation

To install the module:

  1. Download OnApp WHMCS CDN Module.
  2. Upload OnApp CDN For WHMCS Module archive file to your server into WHMCS root directory.
  3. Extract OnApp CDN For WHMCS Module. Make sure that after extracting the CDN module, the modules/servers/onappCDN folder appears.

  4. Go to Setup > Products/Services > Server and click Add New Server.
  5. Enter your server name, IP address (or hostname), username and password. Choose OnappCDN from a drop-down menu and click Save Changes.
  6. Create a server group. To do so, click the Create Server Group. Enter server group name, click your previously created server, press Add and Save Changes.
  7. Create a product group. For this:
    1. Go to Setup > Products/Services > Products.
    2. Click the Create a New Group
    3. Enter product group name
    4. Click Save Changes.
  8. Create your product:
    1. Click Create a New Product.
    2. Select Product Type and Product Group from the drop-down menus.
    3. Enter Product Name.
    4. Click Continue.
  9. Select OnappCDN and your previously created server group from the drop-down menus and click Save Changes.
  10. Choose User Role, User Group and User Billing Plan. Mark the resource types you want to allow (Ctrl+mouse click) and press Save Changes.
  11. Generate custom fields and configurable options:
    1. Click both Generate default texts next to the Custom Fields and Configurable Options.
    2. Save Changes.
  12. Please add the following cron job to synchronize CDN resources between the OnApp CP and the WHMCS OnApp CDN module:

    php -q /your_whmcs/modules/servers/onappCDN/cron.php # FOR onappCDN 


Congratulations, you have just successfully installed OnApp CDN For WHMCS Module!
Client area service management page of product will look similar to the following screen.