Step one: Configuring the physical Xen server
This guide will help you configure xen server, and configure a virtual machine inside that server.
Navigate to VMM Addon – WHMCS top menu -> Addons -> Virtual Machine Manager.
Inside Virtual Machine Manager, choose “Plugins” -> “Manage plugins“, in the Xen row, choose “Manage Hosts” –
Specify your xen host physical server login details.
Note that the URL should start with “htttp/s” prefix, default port for xen is 80 (you should specify the port)
* If your WHMCS server has a firewall, make sure to whiltelist your xen host ip address for in/out communication.
The physical host is the server that holds the virtual machines (multiple machines), and not the end user’s virutal machine (this will be configured later..).
Step two: Adding virtual machines for your XEN host
First, the client’s virtual server should be properly configured inside WHMC’s Products/Services.
Please navigate to – WHMCS top menu -> Setup -> Products/Services -> Servers
Edit your server (or create a new one). Make sure that the client’s hostname is exactly the same as the server name in Xen, if they don’t match, Virtual machine manager will not be able to find your server.
At the bottom of the screen, under the “Type” section, choose “Virtualmachine“.
Next, navigate back to Virtual Machine Manager -> Servers tab. Your virtual machine should now appear in the server’s list, but it will be in an “Unknown” state. All you need to do now, is to choose “xen” plugin, and the appropriate physical host (we configured it in step one).
That’s all !
To assosiate the server to a client, just choose the server in the client’s “Products & Services” tab, and the client will be able to manage the server through his WHMCS client area.