Personal tools
Namespaces

Variants
Actions

Hetzner Cloud Servers For WHMCS

From ModulesGarden Wiki
Jump to: navigation, search

Contents

About Hetzner Cloud Servers For WHMCS

Hetzner Cloud Servers For WHMCS is a tool of great convenience for all those who wish to manage their Hetzner servers automatically.

The module will allow your clients to remotely control the status of a server, access the console, and rebuild the machine.
With it, you will be able to personalize and adjust your offer to even the most demanding needs of your clients.

  • Admin Area Features:
✔ Create/Suspend/Unsuspend/Terminate Server
✔ Power On/Power Off/Shut Down/Reboot Server
✔ View/Reset Server Password
✔ View Server Status And Details
✔ View Assigned IPv4 And IPv6 Addresses
✔ Rebuild Server With Chosen OS Distribution
✔ Mount/Unmount ISO Images
✔ View/Manage Floating IP Addresses
✔ View/Restore Automatic Backups
✔ View CPU/Memory/Network Usage Graphs
✔ View Tasks History
✔ Configure Product Details:
✔ Choose Location/Data Center
✔ Choose OS Image
✔ Choose Type
✔ Define Random Domain Prefix
✔ Define Number Of Floating IPv4 Addresses
✔ Define Additional Volume Size
✔ Define Snapshots Size Limit
✔ Define Firewalls Limit
✔ Define Firewall Rules Inbound/Outbound/Total Limits
✔ Define Reverse DNS Template
✔ Choose User Data
✔ Enable Backups
✔ Enable Opening Console In New Window
✔ Choose Available Images To Rebuild
✔ Choose Available ISO Images To Mount
✔ Choose Features Available In Client Area:
✔ Rebuild Server
✔ Access Console
✔ Reverse DNS
✔ Floating IP Addresses
✔ Backups
✔ Graphs
✔ Networks
✔ Tasks History
✔ Rescue Mode
✔ Soft Reboot
✔ Snapshots
✔ ISO Images
✔ Firewalls
✔ Available Images To Rebuild
✔ Available ISO Images
✔ Select Server Information Fields Displayed In Client Area
✔ Select Action On Service Suspension
✔ Power Off VM Before Upgrade
✔ Enable Static VM Domain Name
✔ Generate Configurable Options
✔ Run API Connection Test
  • Client Area Features:
✔ Power On/Power Off/Shut Down/Reboot Server
✔ View/Reset Server Password
✔ View Server Status And Details
✔ View Assigned IPv4 And IPv6 Addresses
✔ View/Restore Automatic Backups
✔ Create/Manage Firewalls And Their Rules
✔ Access Remote Console
✔ View/Manage Floating IP Addresses
✔ View CPU/Memory/Network Usage Graphs
✔ Mount/Unmount ISO Images
✔ Create/Manage Networks:
✔ Create Subnets And Attach Resources
✔ Add Routes
✔ Rebuild Server With Chosen OS Distribution
✔ Create/Manage IPv6 Reverse DNS Records
✔ Create/Restore Snapshots
✔ View Tasks History
✔ Provide SSH Key During Order
  • Configurable Options:
✔ Location
✔ Data Center
✔ Image
✔ Type
✔ Additional Volume Size
✔ Filesystem For Additional Volume Size
✔ Snapshots Limit
✔ User Data
✔ Enable Backups
✔ Number Of Floating IP Addresses
✔ Firewalls Limit
✔ Inbound Firewall Rules Limit
✔ Outbound Firewall Rules Limit
✔ Total Limit of Firewall Rules
  • Available Images:
✔ Linux OS And Solutions:
✔ 3CX
✔ AlmaLinux
✔ Alpine Virtual
✔ Archlinux
✔ CentOS
✔ Clonezilla
✔ collab-tools
✔ Debian
✔ Docker
✔ Fedora
✔ FreeBSD
✔ FreePBX
✔ GitLab
✔ Go
✔ IPFire
✔ Jitsi
✔ Lamp
✔ k3OS
✔ Kali Linux
✔ mfsBSD
✔ NetBSD
✔ Nextcloud
✔ NixOS
✔ OPNsense
✔ OpenBSD
✔ openSUSE
✔ Oracle Linux
✔ Owncast
✔ pfSense CE
✔ PhotoPrism
✔ Prometheus Grafana
✔ Proxmox Mail Gateway
✔ Proxmox VE
✔ RancherOS
✔ Rocky Linux
✔ Ruby
✔ RustDesk
✔ Securepoint UTM
✔ SystemRescueCD
✔ TrueNAS SCALE
✔ Ubuntu
✔ virtIO Drivers
✔ VyOS
✔ WireGuard
✔ WordPress
✔ Microsoft Windows:
✔ Windows Server 2022
✔ Windows Server 2019
✔ Windows Server 2016
✔ Windows Server 2012 R2
✔ Windows VirtIO Drivers
✔ Any Other OS Platforms And Solutions When Made Available By Hetzner
  • General Info:
✔ Supports Hetzner Cloud Solutions
✔ Integrated With Advanced Billing For WHMCS - Actual Server Resource Usage Billing
✔ Integrated With Server Allocator For WHMCS - Automatic Assignment Of Most Suitable Servers To Products
✔ Fully Integrated With Lagom WHMCS Client Theme
✔ Multi-Language Support
✔ Supports PHP 8.1 Back To PHP 7.4
✔ Supports WHMCS Metric Billing - Integration: Cores, Memory, Disk
✔ Supports WHMCS Server Sync Tool
✔ Supports WHMCS Themes "Six" And "Twenty-One"
✔ Supports WHMCS V8.9 Back To WHMCS V8.6
✔ Requires ionCube Loader V12 Or Later
✔ Easy Module Upgrade To Open Source Version

Installation and Configuration

This tutorial will show you how to successfully install and configure Hetzner Cloud Servers For WHMCS smoothly.

We will guide you step by step through the whole process.

Installation

1. Log in to our client area and download the module.
HTZ 1.png
2. The downloaded file will contain two packages, one dedicated to PHP 7.4 and the other one to PHP 8.1

Choose the appropriate package that will comply with your system.

HTZ 2 0.png
3. Extract and upload the extension into the main WHMCS directory.

Extracted files in your WHMCS directory should look like this:

HTZ 2.png
4. When you install Hetzner Cloud Servers For WHMCS for the first time, you have to rename the 'license_RENAME.php' file.

The file is located in 'modules/servers/HetznerVPS/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'.

HTZ 3.png
5. 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'.

HTZ 4.png
6. Now, set up the 'storage' folder as recursively writable.

This folder is available at '/your_whmcs/modules/servers/HetznerVPS/'.

HTZ 5.png
7. The last step is setting up the tasks cron job.
Remember that before you schedule the corn task, you must create a product/service first. If done the other way around, errors might occur.

It is needed to:

  • Check if volumes were successfully added to the panel after the 'Create' action. If not, the proper task to add volumes to the panel will be performed.
  • Remove volumes from the panel after their termination. If not set, the admin will have to delete them manually.

We suggest that the cron should run every 5 minutes:

php -q /your_whmcs/modules/servers/HetznerVps/cron/cron.php Tasks

Configuration of Server

Before you can go on, you must generate your Hetzner API Token. You will need it to connect with the server successfully.

Underneath you will find instructions on where to find your API details.

7. Firstly, log into your Hetzner account and enter this site: https://accounts.hetzner.com/login.

Find and open your project.

HTZ7 7 1.png
8. In the side menu, find the 'Security' section and enter it. Then, proceed to 'API Tokens' .
HTZ7 7 2.png
9. In the 'API Tokens' section, press the 'Generate API Token' button.
HTZ7 7 3.png
10. A new window will appear. Provide a description, choose appropriate permissions 'Read & Write' and press the 'Generate API Token' button again.
HTZ7 7 4.png
11. Now, you will see the newly generated 'API Token' . Copy it and keep safe as you will need in a moment to create a connection between WHMCS and the Hetzner server.
HTZ7 7 5.png
12. Now, log in to your WHMCS and proceed to 'Setup' 'Products/Services' 'Servers' and press 'Add New Server' .
HTZ 6.png
13. Next, enter your server name, provide any data into the 'Hostname' or 'IP Address' and select 'Hetzner Cloud Servers For WHMCS' from the 'Type' field.

Now, provide the previously generated API token in the 'Password' field. Then check the connection, and if successful, save the changes.

Note: The module requires neither the "Hostname" nor "IP Address", fill out one of the fields to avoid fatal errors.

HTZ 7.png
14. It is time to create a server group. To do so, click on 'Create Server Group' .
HTZ 8.png
15. Enter a name, click on your previously created server, press 'Add' and afterward 'Save Changes' .
HTZ 9.png

Configuration of Product

16. In order to create and configure a product, go to 'Setup' 'Products/Services' 'Products/Services' .

Click on 'Create a New Group' .

HTZ 10.png
17. Enter your product group name and press 'Save Changes' .
HTZ 11.png
18. Once you have a product group, you can create a new product.

To do so, first, click on 'Create a New Product' .

HTZ 12.png
19. Afterward, choose your product type, enter your product name, choose the module and the product group from the dropdown menus. Press 'Continue'.
HTZ 13.png
20. 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.

HTZ 14.png
21. Now, you can start configuring the settings of the server you sell.

Just like when creating a new virtual machine in your Hetzner panel, here also you can configure such options as:

  • Location - Select a location for the related server from the list.
  • Data Center - Select the data center region. More distant server locations may increase the server's latency without providing any practical benefits to clients.
    If other than 'Auto' is selected, 'Location' will not be taken into account.
  • Image - Select the image of the system that will be installed on the server.
  • Type - Choose a type from the list of available to be used on the server.
  • Number of Floating IPv4 Addresses - Provide a number of 'Floating IPv4 Addresses' that should be created for your server.
  • Additional Volume Size [GB] - Allows you to create and attach an additional SSD storage volume to the server in the provided size (in GB).
    If left empty or set to 0, then the volume will not be created and attached.
  • Filesystem for Additional Volume Size - Select the desired filesystem for the additional volume size.
  • User Data - Allows you to choose the file or Bash script which may be used to configure the server on the first boot.
    Note: Please refer to the following article to find a list of supported module parameters and their descriptions.
  • Snapshots Limit [GB] - Define the size limit in gigabytes (how much of the space can be taken for creating snapshots by clients). Provide -1 value for unlimited.
  • Random Domain Prefix - Enter the domain prefix that will be used when a domain is not provided.
  • Firewalls Limit - Enter the maximum number of firewalls or type in -1 to set it as unlimited.
  • Inbound Firewall Rules Limit - Enter the maximum number of inbound firewall rules or type in -1 to set it as unlimited.
  • Outbound Firewall Rules Limit - Enter the maximum number of outbound firewall rules or type in -1 to set it as unlimited.
  • Total Limit of Firewall Rules - Enter the maximum number of total firewall rules or type in -1 to set it as unlimited.
  • Reverse DNS Template - Enter here the reverse DNS template, you may use the available variables or leave empty to use default rDNS:
    • {$ipaddress}mydomain.com e.g.: 123.123.123mydomain.com
    • {$ipaddressdash}mydomain.com e.g.: 123-123-123-123mydomain.com
    • {$ipaddresspart[X]} - where X is the index of IP's part (begin from 0), e.g.: {$ipaddresspart[1]}-{$ipaddresspart[2]}.mydomain.com will generate 123-102.mydomain.com
  • Enable Backups - Turn on if you wish to enable creating backups for the server.
  • Open Console in New Window - Enable to allow opening the console in a new window
HTZ 15.png
22. The following section is dedicated to the Client Area Features.

You will find here six options that can be enabled and then will be available to your clients in their client area. These options are:

  • Rebuild - if enabled, clients are allowed to rebuild their virtual machine in an adequate section.
  • Console - if enabled, clients are granted access to console
  • Reverse DNS - if enabled, clients will access the 'Reverse DNS' option which allows them to change the hostname that will appear when getting the hostname belonging to the primary IPs of their servers.
  • Floating IP Addresses - if enabled, clients will access the 'Floating IP Addresses' area.
  • Backups - if enabled, clients will access the 'Backups' area.
  • Firewalls - if enabled, clients will access the 'Firewalls' area.
  • Graphs - if enabled, clients will access the 'Graphs' area.
  • Networks - if enabled, clients will access the 'Networks' area.
  • Tasks History - if enabled, clients will access the 'Tasks History' area.
  • Rescue Mode - if enabled, clients gain access to the rescue mode feature, allowing them to retrieve server details in the event of boot-related issues.
  • Soft Reboot - if enabled, clients have the option to initiate a soft reboot of the server. For a successful reboot, the operating system must support ACPI and respond to the request;
    otherwise, the reboot will not be completed.
  • Available Images To Rebuild - select OS images from available to allow the client to use when rebuilding a virtual machine.
    Please note, that if you leave this field empty then all available OS images will be displayed in the client area to rebuild.
  • Snapshots - if enabled, clients can access snapshots section where they can easily take or restore snapshots of their virtual machines.
  • ISO Images - if enabled, clients are able to mount or unmount provided ISO images to their virtual machine.
  • Available ISO Images - select ISO images provided by Hetnzer to allow the clients to mount them to their virtual machines to e.g. increase the number of available operating systems the customers can install on their own.
HTZ 16.png
23. Adjust the content of the "Server Information" section visible in the client area.

Select here the fields that you wish to be visible for clients on the product overview page.

HTZ 16 0.png
24. Configure the automation settings:
  • Action on Service Suspension - you may either decide to shut it down or power off the machine.
  • Power Off VM Before Upgrade - enable this option to power off the VM before initiating an upgrade. It will help to prevent potential crashes and errors during the VM upgrade process.
  • Static VM Domain Name - if enabled, a fixed VM Domain Name is set without automatic changes by the Hetzner API.
HTZ 16 1.png
25. 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 virtual machine 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.

HTZ 17.png
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.
HTZ 18.png
Now that the product is ready, it is time to set up the corn job responsible for task executions.

It is suggested that the cron should run every 5 minutes:

 php -q /your_whmcs/modules/servers/HetznerVps/cron/cron.php Tasks
HTZ 18 0.png

SSH Keys

In the 'Custom Fields' tab you will find a 'SSH Public Key' field which is displayed to clients on the order form by default.

This field is optional. It allows your clients to insert their public key in order to be able to log in to the server without using a password.
The provided key should be in one of the OpenSSH formats which are supported by Hetzner API. This includes the following types:

  • ssh-rsa
  • ssh-dss
  • ecdsa-sha2-nistp256
  • ecdsa-sha2-nistp384
  • ecdsa-sha2-nistp521
  • ssh-ed25519

If you would like to limit the possibility of entering the key e.g. only to the 'ssh-rsa' format, you can use the regular expression in the validation field, such as:

#ssh-rsa AAAA[0-9A-Za-z+/]+[=]{0,3}( [^@]+@[^@]+)?# 

More information about how Hetzner handles SSH keys and how to create them can be found here.
If you do not want this field to be available to customers during the ordering process, simply uncheck the 'Shown on Order Form' option.
Remember that API allows such action only once, during the initial VM creation.

HTZ 18 1.png

Management

Admin Area

Hetzner Cloud Servers For WHMCS allows you to monitor and manage your customer virtual machine from the admin area of your WHMCS system.

This includes supervision of such features like:

  1. Configurable options which enable you to view the chosen server resources.
  2. Module commands to allow easy and quick management of the server.
  3. Service actions, including: Power on/off, Shut down, Reboot the server and Reset the password.
  4. Server information provides you with the current status, resources and options set for the virtual machine.
HTZ 19.png
Please note that in case the product had no SSH key provided while being created, the 'Password' field with the option to be changed is available among other Server Information.
HTZ 19 0.png
Below you will also find:

5. A list of OS distributions available for rebuilding.
6. A list of ISO images that can be mounted to the virtual machine.
7. Floating IP Addresses.
8. Backups that were performed and SSH key, if it was provided during the order.

HTZ 19 2.png
9. For available graphs, you may change settings to adjust the displayed data time frame to your needs.
HTZ 19 3.png

Ordering

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.

Based on the custom SSH key field configuration, you might also insert your public SSH key, which will allow you to log in to a server without the need to use the password.
Note that this key should be in one of the OpenSSH standard formats which are supported by API, e.g. ssh-rsa.

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.

HTZ 19 1.png

Importing Existing Server

In this section, you can find short instruction on how to connect one of your clients to your already existing server in the Hetzner 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:

  • Server ID

The above-mentioned information has to be consistent with the data from your Hetzner 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' .

Import Hetzner.png
3. If the completed data is correct, after refreshing the page, you will see the attached server from Hetzner.
Important! Remember to manually add other missing parameters of the instance such as credentials, configurable options, SSH Key, billing cycle, etc. so they match the parameters of the attached instance from Hetzner.

Client Area

Client area interface of Hetzner Cloud 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, shut down and reboot their servers by pressing the corresponding buttons.
Clients can also rebuild the server, access the console and view the current server parameters, resources and set options, as well as the assigned IP addresses.

HTZ 20.png
In case the SSH Key has not been used when creating this virtual machine, a one time password, with the option to change it, will be available among other server information.
HTZ 20 1.png

Backups

The first section available for clients grants the ability to view the list of existing 'Backups' of your server.
You may restore any of the available backups at any time you need, simply press the icon marked on the screen.
Please remember that 'Backups' are assigned to a particular server and will be removed once the server is deleted.
HTZ 29.png

Console

Clients may access console directly from the client area.

It is the easiest and fastest possible way to connect to the server.

HTZ 22.png

Firewalls

'Firewall' section allows your clients to view existing on the server firewalls and add new ones.

To create a new firewall just press 'Create Firewall' button.

HTZ 22 0.png
Enter a firewall name and confirm the action by pressing the green button.
HTZ 22 1.png
Once you have the firewalls added, it is time to create required firewall rules.
Press the edit icon next to the firewall to do so.
HTZ 22 2.png
Here you will find the list of existing rules if any have already been created. Press the button 'Create Rule' to add a new one.
HTZ 22 3.png
In order to add a new firewall rule please fill in the required fields:
  • Protocol
  • Direction: IN/OUT
  • Port - enter port or a port range to which the traffic will be allowed, it is only applicable for 'TCP' and 'UDP' protocols. A port range can be specified by separating two ports with a dash, e.g 1024-5000.
  • Source IP (IN)/Destination IP ('OUT' direction) - Provide a list of permitted IPv4/IPv6 addresses in CIDR notation. Please use '0.0.0.0/0' to allow all IPv4 addresses and ' ::/0' to allow all IPv6 addresses.
    You can specify 100 CIDRs at most. Separate each address with a comma from the others.
HTZ 22 4.png
As you can see, management of the existing rules is extremely easy. Edit or remove firewall rules by pressing adequate buttons.
HTZ 22 5.png

Floating IP Addresses

In this section you can review all 'Floating IP Addresses' and edit them.
HTZ 28.png

Graphs

Once entering the 'Graphs' section, clients will be moved to the page with the generated graphs showing:
  • 'CPU Usage'
  • 'Memory IO Operating Usage'
  • 'Memory Usage'
  • 'Network Package Traffic'
  • 'Network Traffic'
HTZ 28 0.png

ISO Images

In the 'ISO Images' section, a client can mount additional images that were selected by the administrator during the product configuration.
Thanks to it, a client can easily install e.g. additional operating systems that are not available by default for the 'Rebuild' feature.

Note: Currently mounted image is highlighted with the bolded font. Customers can unmount it at any time, or mount any other image from the list.

HTZ 23.png

Networks

Networks section allows direct management of networks. They can create networks (1), subnets(2), routs(2), then attach resources and manage aliases.
HTZ 23 1.png
HTZ 23 11.png
Once you have a set o networks created, you may move to creating subnets per each network. Move to the 'Subnets' (2) section.
There press 'Create Subnet' to create a new one.
HTZ 23 2.png
HTZ 23 22.png
Now, to each created subnet you may attach resources. You may select your own resource to attach or set private IP address manually.
HTZ 23 3.png
HTZ 23 0.png
There is also an option to manage alias IP addresses. Use comma if you want to add more than one alias at once.
HTZ 23 44.png
Next to 'Subents' (2) you will find section dedicated to 'Routs' (3) management. There you may and new routs by providing its destination, CIDR and a gateway.
HTZ 23 4.png
HTZ 23 33.png

Rebuild Server

This feature allows your clients to rebuild their virtual machine and change a server's OS image.

Press the shown below button in order to reinstall your server to the chosen image and confirm your choice.
Please remember that this will also wipe the previously saved data on the VM disk.

HTZ 21.png
In case your machine has been created without the SSH key provided (read more here), a one time password will appear when the process of rebuilding the machine starts.
Please copy it and keep safe to use.

Reverse DNS

In this section you can change the hostname that will appear when getting the hostname belonging to the primary IPs (IPv4 and IPv6) of your server.
To do so, click on the button as presented below.
HTZ 26.png
When 'IP' and 'Reverse DNS' are provided, just save the changes.
HTZ 27.png

Snapshots

Creating snapshots allows customers to quickly restore any changes to a virtual machine in case of any problems.
Clients can create as many snapshots as they wish, providing that the total size of snapshots does not exceed the limit specified in the product configuration or chosen in the configurable option.

Once the shutter has been created, the customer can restore it, change its description or delete it.
The currently selected snapshot will also be shown in bold font.

HTZ 24.png
After pressing the 'Create Snapshot' button, the new window will pop up along with the possibility to specify the snapshot description.

Please note that taking a new snapshot may take a while to process.

HTZ 25.png

Tasks History

Navigate to the "Tasks History" section to access a comprehensive list of completed actions, including their status and dates of completion, within the server activity.
HTZ 25 0.png

Tips

1. In the language file, you can customize the names of the displayed operating systems, and also add new ones on your own, if they appear in Hetzner.
Simply add new records in the same way as the default ones.
2. The module allows the possibility to install a snapshot, that has been previously created in your Hetzner panel, as an OS image.
All created snapshots are available in the dropdown list of the available images in the product's module settings.

How To Use Language Overrides

Incorporating language customizations - the module readily accommodates language overrides, allowing you to tailor the language files to your preferences.
The language file english.php remains unencoded and can be modified to suit your needs. However, it's recommended to avoid altering the core file itself, and instead, leverage the capability of using overrides.
Here's how to apply language overrides:
  • Navigate to the ~/langs/ directory located within the following yourWHMCS/modules/servers/moduleName/langs/ path.
  • Within this directory, create a new file or duplicate the language file you intend to modify. For instance, if you wish to create an override for the English language, establish the following directory structure:
 ~/langs/overrides/english.php.
  • Open the newly created override file to edit its contents.
  • At the beginning of the file, indicate the used code, for instance, you can use: <?php for PHP code.
  • Adapt the file content according to your requirements. You can either selectively modify specific variables or opt to revise the entire content of the language file.

For example:

Original yourWHMCS/modules/servers/moduleName/langs/english.php:

 $_LANG['Search'] = 'Search';

Override yourWHMCS/modules/servers/moduleName/langs/overrides/english.php:

 $_LANG['Search'] = 'Look for';
By following these steps, you can seamlessly implement language customizations without altering the core language file, ensuring your changes will not be lost after every module update.

Remember that some of the modules have more than one language file, located under /addons and /servers paths. You may create the override files for both of them.
Note that you do not need to paste all the original content of the lang file into the override file. Enter there only the lines that you wish to change, every other line will be fetched from the original module lang file.
Consequently, the override lang file might include only one or just a few lines.

Update Instructions

An essential guidance through the process of updating the module is offered here.

Ensure successful completion of the module update by carefully following each step, thereby preventing data loss or any unforeseen issues.
Additionally, you will find a current list of supplementary actions necessary for a smooth update process there.

Upgrade Guide

Seeking a solution that offers greater flexibility, customization tailored to your precise needs, and unrestricted availability?
There is an option that not only proves to be cost-effective in the long run but also includes prioritized support services, making it a truly valuable investment.

Opt for the Open Source version of your Hetzner Cloud Servers For WHMCS module to unlock these benefits.
Simply click on either the Get Source Code or Upgrade To Lifetime button found on the product's page in our client area to complete the one-step upgrade process, with a dedicated discount already applied.

Follow a comprehensive guide covering the transition process, the advantages it brings, and step-by-step instructions on what to do next after the order has been successfully finalized.

Common Problems

1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
2. If you use WHMCS V7.8.X (or later), a fatal error may occur when trying to save server settings without providing any hostname or IP address details.
Our module does not require this field to be filled out, but in that case, try to provide anything in the hostname field. Please note that this is a bug occurring in WHMCS, not the module itself.
3. Error: 422 Unprocessable Entity response: { "error": { "message": "image has incompatible architecture", "code": "invalid_input", "details": { (truncated...)

If you encounter the above error when creating a server, the Image and Type fields in 'Configuration' section of the product settings are incorrectly set up.
The CPU architecture displayed in brackets next to the image name in the Image field should match the CPU architecture selected in the Type field.

  • example 1: Image: "Ubuntu 20.04 (arm)" → Type: selected item name must begin with "CAX"
  • example 2: Image: "Ubuntu 20.04 (x86)" → Type: selected item name must begin with "CX (Intel)" or "CPX (AMD)"
Navigation
WHMCS Modules
WHMCS Widgets
Translations
cPanel Modules
General
FAQ
Community
Hetzner Cloud Servers For WHMCS