OVH VPS & Dedicated Servers For WHMCS will let you automatically supply VPS and dedicated servers powered by OVH, as well as So you Start and Kimsufi.
The module will allow your clients not only to remotely control the status of a machine, but also access the KVM and IMPI console, and update reverse DNS paths.
In addition, you will easily decide whether an existing server can be reused by another customer, in case the previous one no longer needs it.
Admin Area Features:
✔ Create/Suspend/Unsuspend/Terminate/Renew Server
✔ Power On/Power Off/Reboot Server
✔ Reboot Server In Rescue Mode
✔ Reinstall Server
✔ Access KVM/IPMI Console (OVH)
✔ View Server Status And Details
✔ Monitor Server Protocols Status (VPS)
✔ View/Create/Restore/Delete Snapshots (VPS)
✔ View Assigned IP Addresses And Update Reverse DNS Paths
✔ View Assigned Disks With Bandwidth And Space Limit
This tutorial will show you how to successfully install and configure OVH VPS & Dedicated Servers For WHMCS.
We will guide you step by step through the whole installation and configuration process.
1. Log in to our client area and download the module.
2. Upload and extract the extension into the main WHMCS directory.
Extracted files in your WHMCS directory should look like this:
3. When you install OVH VPS & Dedicated Servers For WHMCS for the first time, you have to rename the 'license_RENAME.php' file.
The file is located in 'modules/servers/OvhVpsAndDedicated/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'.
4. In order to configure your license key, you have to edit the previously renamed 'license.php' file.
Enter your license key between the quotation marks as presented on the following screen.
You can find your license key in our client area → 'My Products'.
5. Now, set up the 'storage' folders as recursively writable.
These folders are available at:
6. The last step is setting up the cron job.
Mail cron - will be used to send emails to clients after Server creation, reinstallation and entering the rescue mode. You will find more information on this topic in the product configuration section. We suggest the cron to run every 5 minutes:
Remember to replace 'your_whmcs' with your WHMCS root path.
Activation of Addon
7. Now you have to activate the module in your WHMCS system.
Log in to your WHMCS admin area. Click 'System Settings' and find 'Addon Modules'.
Afterwards, find 'OVH VPS And Dedicated Servers For WHMCS' and press the 'Activate' button.
8. In the next step you need to permit access to this module.
To do so, click on the 'Configure' button, tick the desired admin roles and press 'Save Changes'.
9. OVH VPS And Dedicated Servers For WHMCS has been successfully installed!
Access the addon under 'Addons' → 'OVH VPS And Dedicated'.
Configuration of Server
10. Now, we will show you how to configure a new product.
Go to 'System Settings' → 'Servers' and press 'Add New Server' .
11. Next, enter your server name and select 'OVH' from the 'Type' field.
Now, provide your:
Then select Location and Country corresponding with the server offered by the administrator and finally, select the OVH Server Type (VPS/Dedicated).
Note: For "So You Start" and "Kimsufi" select 'Dedicated'.
Check the connection when ready and, if it is successful, save the changes.
API details are generated depending on the location where you own the OVH account. These might be:
To create an application, please move directly here and create the necessary keys.
In case you encounter any issues with generating your API details, please contact your provider. To learn more about API, please refer to the documentation.
You may also skip the 'Consumer Key' field in the server configuration (Application Key and Secret must be provided).
After saving the changes, the module will redirect you, in such case, to your provider's page where the key can be generated at once. Please log in and select 'Unlimited' in the key validity field.
The 'Consumer Key ' will be automatically generated and entered in the appropriate field in the server's configuration page in the module.
12. It is time to create a server group. To do so, click on 'Create New Group'.
13. Enter a name, click on your previously created server, press 'Add' and afterward 'Save Changes'.
Configuration of Product
15. In order to create and configure a product, go to 'System Settings' → 'Products/Services'.
Click on 'Create a New Group'.
16. Enter your product group name and press 'Save Changes'.
17. Once you have a product group, you can create a new product.
To do so, first click on 'Create a New Product'.
18. Afterward, choose your product type, enter your product name and choose the product group from the dropdown menu. Press 'Continue'.
19. Now, go to the 'Module Settings' section, choose your previously created server group from the dropdown menu.
The module should automatically save and reload the settings. If not, click on the 'Save Changes' option manually.
20. Now, you can start configuring the settings of the Server you sell. Bear in mind that the settings vary, depending on the server type selected.
Underneath we will describe the settings configuration for 'OVH VPS' and 'OVH Dedicated Servers' in details. Note that settings for 'So You Start' and 'Kimsufi' products are very much alike the 'OVH Dedicated Servers' once, so you may surely base on them while configuring these products.
OVH VPS configuration settings:
Solution Type - choose from the available the one that will suit your needs the most
Operating System - choose the OS, it can still be reinstalled at any time if such an option is enabled for clients
Windows (Cloud/Cloud RAM only)
License - you can select a license from the available ones
Data Center Location - choose where the server shall be located on the OVH data center
Payment Frequency - define the frequency of payments
Prevent System Reinstall - enable if you want to block the OS reinstallation during the upgrade process
Snapshot - decide if clients should be allowed to capture an image of the server at a given time.
OVH Dedicated Server configuration settings:
Operation System Template - choose a template of an operation system to install
Operating System Language - choose the language of an installed operation system
Plan - check out the powerful line-up of dedicated servers and select the preferred solution
Disks - customise your server by selecting one of the available disks
Distribution License - choose the distribution license
Application License - choose the application license
Contract Duration - define the duration of the contract
Memory - define the memory of your dedicated server
vRack - choose up to 40 Gbps, on certain models, for increased speed
Public Network - choose the preferred public network traffic
Data Center Location - define where a server will be located on the OVH data center
Payment Frequency - define the frequency of payments
21. Afterward, set up incoming mail configuration.
Due to API limitations, all emails with server credentials can only be sent to your OVH / Kimsufi / So You Start email address set in the panel. This applies to messages with credentials sent after creating the server as well as messages sent after reinstallation. The solution to this problem is email piping that will be used to receive messages sent to your OVH mailbox and then forwarded through the templates further to your WHMCS clients.
Note: Even though the module filters the received messages in your mailbox, we recommend that you use a separate mailbox for your main OVH VPS and Dedicated Servers profile account to avoid any issues with non-OVH content.
After setting up the dedicated mailbox, provide its valid credentials below and test whether the connection has been established correctly.
Note: There is available an option to 'Disable Certificate Validation'. Please toggle this option ONLY if you are having trouble with the connection. The certificate validation will be omitted when connecting to an email box. Note: The 'Mailbox Folder' option allows you to define your mailbox folder for 'Incoming Mail Configuration' which will be used if received emails are set to be automatically filtered and moved to other than the default folder in the inbox.
The cron set during the last stage of the module's installation should periodically check that mailbox for OVH messages. If any new emails are received, they will be then converted to your email template and sent to the corresponding client. The default email templates for product creation, reinstallation and reboot in rescue mode can be specified below. Take a look at the Tips section - tip no 1, and check the templates' types.
22. Automation Settings section includes detailed actions that will be automatically performed by the module in several situations:
Action On Service Suspension - decide what to do with the server in situation when the module command: Suspend has been triggered
Do Nothing (VPS)
Do Nothing (Dedicated Server)
Reboot To Rescue (Dedicated Server)
Terminate (Dedicated Server)
Reinstall (Dedicated Server)
Auto Pay With Preferred Method - toggle to make payments for orders automatically with a preferred payment method in OVH Panel
Auto Assign VPS/Dedicated Server To Reusable On Termination - when terminated, the server will be in fact cleared and added to the queue to be selected as a reusable by other clients
Waive Retractation Period - toggle to waive retractation period on OVH orders
23. The following section is dedicated to the Client Area Features.
You will find here numerous options that can be enabled and then will be available to your clients in their client area. Please note that some options are available for VPS only, Dedicated Server only and some for both of them:
Disks(VPS only) - if enabled, clients are allowed to view disks attached to their servers with specified limits
Reinstall - if enabled, clients are allowed to reinstall the server in the client area
KVM/IPMI Console - if enabled, clients are allowed to manage their server using KVM console
Service Information - decide which records will be visible in the client area. Please remember that if you do not choose anything, all records will be displayed in the client area.
Rescue Mode - if enabled, clients are allowed to reboot the server in rescue mode
IP Addresses - if enabled, clients are allowed to view IP addresses assigned to the server
Update Reverse DNS Paths - if enabled, reverse DNS can be updated in the client area, 'IP Addresses' must be previously enabled to use his option
Traffic Statistics Graph(Dedicated Server only) - if enabled, clients are allowed to view traffic graph
Important: Access to KVM/IPMI Console and Traffic Statistics Graph is available for OVH only. "Kimsufi" and "So You Start" brands do not support them.
24. At the end of the configuration process, you can decide whether you want to generate configurable options for the product.
Configurable options can be used by your clients to select each Server parameters individually during order placement. Otherwise, if configurable options are not defined, then the fixed parameters specified in the earlier configuration will be used instead.
If you decide to use configurable options, press on the 'Create' button and select which options you want to generate. Note that the configuration for disabled options will still be taken from the configuration of the main product. More information about how to use configurable options can be found here or in the official WHMCS documentation.
Generating Additional Configurable Option
This section presents how you can manually add 'Solution Type & Operating System & Application' as additional configurable option in order to provide the diversity of your products. Proceed to 'System Settings' → 'Configurable Options' . Click on the 'Configurable Options' that were generated previously.
Click 'Add New Configurable Option' as presented below.
Now, you need to provide 'planCodeVpsOsAddon|Solution Type & Operating System & Application' as 'Option Name' and choose 'Dropdown' as 'Option Type' . The first option has to be '0|None' .
You can add another 'Options' following this scheme:
product:OS:license|your name that is displayed to customers
As an example, we will provide 'vps-value-1-2-40:Centos 7 - cPanel:option-cpanel-1|VPS Value 1 vCPU 2 GB RAM 40 GB disk - Centos 7 - cPanel (Option cPanel 1 account)' .
If you wish to diversify your products, set different prices to make your products more competitive on the market. You can create another options using the following values.
Centos 7 - cPanel
Centos 8 - Plesk
Debian 10 - Plesk
Debian 8 - Docker
Debian 8 - OpenVPN
Debian 8 - Plesk
Debian 8 - Vestacp
Debian 8 - Virtualmin
Debian 8 - WordPress
Windows Server 2016 Standard (Desktop)
Windows Server 2019 Standard (Desktop)
Note:Please remember that the above options can be changed as plans are updated. You can easily check the currently available options by generating the default configurable options in the 'Module Settings' section.
Configuration of Addon
You have just correctly created and customized a new product.
Go to 'Addons' → 'OVH VPS And Dedicated' in your WHMCS.
'Servers' section contains a list of your configured servers, you may quickly edit them directly from this site, simply press the edit icon.
In the next step, press the marked icon to see a list of deployed machines.
There you will see all existing machines on this very server. Whether they are used by any client already or not.
Next to the machine name, there are details such as:
assigned client (if there is any already)
reusable toggle - for machines that can be used again by other clients without the necessity to terminate it first. If disabled, the machine can be simply terminated when not used. If enabled, when the product is created for the next time by the client, this machine will be automatically reinstalled and assigned to this client.
In order to manually assign the machine to a client, simply press the marked on the screen button.
Start typing to see a list of clients, then select existing service to assign.
There is also a possibility to assign reusable products to the machine. These products will be permitted to use this machine.
Go back to 'Logs' section, there you will see a list of all module actions, including errors, notifications etc.
OVH VPS & Dedicated Servers For WHMCS allows you to monitor and manage your customer servers from the admin area of your WHMCS system.
This includes supervision of such features like:
Module commands and service actions that enable you to manage server status and features
Service information which provides you with the current status, resources and options set for the server
OVH VPS type
Service Monitoring section with current statuses
Created snapshot with a direct option to edit, restore and delete it
List of IP addresses with option to update the reverse DNS path
List of disks with any important details
OVH Dedicated Servers type:
List of IP Addresses with option to update the reverse DNS path
Traffic statistics graph
Owing to configurable options, you are able to offer a product which your clients can tailor according to their needs. Additionally, you are able to set up pricing for each configurable option, which makes your offer even more competitive.
After the order placement and successful VM creation, the server credentials will be sent to the client's email address according to the set cron execution intervals.
Importing Existing VPS
In this section, you can find short instruction on how to connect one of your clients to your already existing VPS in the OVH panel. Take the following steps to make sure that the process will be carried out properly.
1. Firstly, manually create an order for your customer in WHMCS. Choose a client and in the summary, view click on the ' Add New Order' button. Next, select a 'Product/Service' and press 'Submit Order' . What is important, do not perform the 'Create' action. The status has to remain as 'Pending' . More info about placing orders can be found here
2. Proceed to the newly created product's card in your admin area. Find the following empty field:
The above-mentioned information has to be consistent with the data from your OVH panel. Now, complete this field as presented below. Important! Remember to make sure that the format of the provided data is compatible with the format supported by the module. You can preview it for another product of the module you have already created and enter it in a similar way. If you completed the required data, now change the status from 'Pending' to 'Active' and 'Save Changes' .
3. If the completed data is correct, after refreshing the page, you will see the attached VPS from OVH. Important! Remember to manually add other missing parameters of the VPS such as domains, IP Addresses, configurable options, etc. so they match the parameters of the attached VPS from the OVH panel.
Client area interface of 'OVH VPS & Dedicated Servers' should look like the one on the screen below. As you can see, the control panel contains useful options required for managing a server.
The module allows your customers to easily power on/off, reboot and reboot in rescue mode, reinstall and access console through pressing the corresponding buttons.
Clients can also view disks, create and restore snapshots, see IP addresses and view current traffic graphs.
Additionally, clients may view the current server parameters, resources as well as the assigned IP addresses.
OVH VPS client area view:
OVH Dedicated Server client area view:
In case of OVH VPS, clients might be granted access to KVM console.
Simply press its icon to open the console window.
For OVH Dedicate Servers, there is supported IPMI console.
Press the IPMI Access icon and then select type and TTL of the IPMI access to continue to the console.
This action reboots the server in the rescue mode.
The moment you press the confirm button, new login details are sent in an email template selected in the product configuration (see point 21), with accordance to the cron settings. Note: The action might last up to a few minutes, please be patient.
The action when triggered, causes the new login details to be sent in an email template selected in the product configuration (see point 21) and with accordance to the cron settings.
Note: Please be patient as reinstallation process is quite time consuming.
Use snapshots to save the current contents of the virtual machine memory. You may use them later to restore the VM's settings.
Note: Creating a snapshot may take a while, so it will not appear on the list right away.
Allowed actions on the created snapshot:
Edit the snapshot (description)
Restore the snapshot to reverse the saved contents of the VM settings
Delete the snapshot
Create another snapshot. Note: Keep in mind that you must have previously deleted the existing snapshot, as only one snapshot may exist at the time.
When you enter this section, you will see a list of assigned disks with any details on them, such as:
Free space threshold
Under 'IP Addresses' you may see any assigned IP addresses, their version, type, location, MAC address and reverse DNS if specified.
Update the reverse DNS path of an IP address by pressing the marked button.
Provide a new reverse DNS for the selected IP address. Press 'Confirm' when ready.
Traffic Statistics Graph (Dedicated Servers)
Open this section to see the graph with traffic statistics. You will find there outlined data on errors, packets and traffic downloads as well as uploads.
You may easily adjust the graph's view by changing the time scope of the displayed stats.
Note 1: Some of the mentioned option may not be visible on the graph until soma data are generated. This is applicable to the graph itself as well. Note 2: "So You Start" and "Kimsufi" brands may not support graphs.
Select the time scope:
1. List of 'OVH VPs & Dedicated Servers' email templates included in the module:
OVH VPS Has Been Created
OVH VPS Rescue Reboot
OVH VPS Reinstalled
OVH Dedicated Reinstalled
OVH Dedicated Server Rescue Reboot
In order to view the templates' content and edit it, please move to WHMCS → System Settings → Email Templates.
More detailed information on templates can be found in the official documentation.
2. If you want to block specific OS images which are available for the server reinstallation process, you need to add these OS images to the following file: yourWHMCS/modules/servers/OvhVpsAndDedicated/app/Config/blockedImages.json
Essential guidance through the process of updating the module is offered here.
Keep in mind there is a quick and easy option in our client area that will let you upgrade the license of your module to an open source version at any time - and at a lower price!
To take advantage of it, simply use the License Upgrade button located on the product's page and a discounted invoice will be generated automatically.
1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
2. You may encounter problems while configuring the product for the dedicated server type for 'So you Start' or 'Kimsufi' brands. As a consequence, options such as plan to configure in the module settings can be unachievable. Please note that this is most probably caused by API problems on the side of these brands. However, it is still possible to assign the ordered server directly from the panel of these brands to the client's product at WHMCS by providing its 'Server Name' in the ordered service in the admin area.