W H M C S M O D U L E
N E T W O R K S

WELCOMES YOU!!

WHMCSModule Networks - Documents

Category - Hostinger VPS

Module Installation for Hostinger VPS Automation for WHMCS

Hostinger VPS Automation for WHMCS is a highly convenient tool for anyone looking to automate the management of their Hostinger VPS servers.

This module enables your clients to remotely manage server status, access the docker details (if installed), and rebuild their machines with ease. It also offers flexibility to customize your services, making it easy to meet even the most demanding client requirements.

Installation and Configuration This tutorial will guide you through the smooth installation and configuration of Hostinger VPS Automation for WHMCS.

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

  1. Download and obtain the license key from our client area.
  2. Extracted files (modules folder content) into your WHMCS directory.

Activating Hostinger VPS Automation Module in WHMCS:

  1. First go to Configuration > System Settings > Addon Modules

  2. Next to Hostinger VPS

     a. Activate – Click on Activate to activate the module
     b. Configure – Now click on configure for module configurations
     c. Module License – Provide license key that we get during module download
     d. Access Control – Provide access control based on your requirement whereas Administrator is a mandatory Access control.

Configuring Hostinger API into Hostinger VPS Automation Module

  1. Go to https://hpanel.hostinger.com/profile/api to get the API key for our project
  2. You can even get it via Profile Information -> API section or you can open the above link directly
  3. Click on New Token -> Give a suitable name and select the TTL value for your token, we suggest "Never expiries"
  4. Now API key has been generated successfully copy the key and save it into your local instance and latter you won’t be able to view to fully and hence you need to regenerate if you lost it
  5. Within your WHMCS admin panel go to Addons > Hostinger VPS
  6. Let’s add the API key that we generated at Hostinger hPanel into our module
    1. Add Project API Key – Click on it and the dialog box will come up
    2. Project Name – Provide suitable project name
    3. API Key - Paste the copied API key from Hostinger hPanel
    4. Confirm – Once all the information provided click to submit API details
  7. You need to make sure you have auto payment enabled else you will face issues during VPS creation and you need to manually pay any invoices generated.

Configuration of Product/Services

  1. In order to create a product, we need to first Navigate into Configuration > System Settings > Product/Services

  2. Now let’s create a product group, click on Create Product Group

  3. In next page provide a Product Group name and adjust all other things based on your requirement then click on Save Changes

  4. Now Create a New Product

  5. In the next you need to configure below details

    1. Product Type – Server/VPS or Other, we recommended to select type as VPS/Server
    2. Product Group – Select the product group that we created
    3. Product Name – Provide your product name
    4. Module – Hostinger VPS
    5. Create as Hidden – Off
    6. Save Change - Once the above required filed is set click on Save changes

In next page

  1. Verify – Product Type

  2. Welcome Email – Select Dedicated/VPS Server Welcome Email

  3. Module Settings – Select Module Settings Tab

  4. In Modules Settings Tab select below required details

    a. Cloud VM Hostname – If you have selected Product Type (Previous step) as Other its mandatory to provide default hostname example – whmcs (lower case only) else if VPS/Server type is selected then it will take user supplied hostname b. Project ID – Select the project ID to which the VPS will be created c. Plan Name – Select the plan name for the product d. Server Location – Select default server location if customer did not select during order process it will create VM at this location e. OS Image - Select default fall back os image name f. Auto Provision – Based on your requirement you can adjust like Automatically provision etc g. Save Changes – Once all done click on Save changes

  5. Custom Fields – You can verify but not required to do any changes

Configurable Options – Required

  1. In order to create a configurable option, we need to first Navigate into Configuration > System Settings > Configurable Options
  2. Edit newly created Configurable Options which is as per the above product and adjust based on your requirements

Assigning a server to a user

If you ware having any Cloud VM/ VPS before using the module then you need to follow these steps so that you can assign an existing VM/ VPS to your existing customer.

Importing a server into WHMCS

  1. Go to Addons > Hostinger VPS and click on View Servers
  2. Now you will have project ID and VPS id which you need to copy them

Assigning the imported VM/ VPS to the end user

  1. Search for the user to whom you wanted to assign the VPS server and got that user’s profile and click on edit icon of the service for which we will assign the server
  2. Scroll down and prodive previous copied VPS ID and Project Id into their respective custom field value
Hello!
Swity AI Assistant