Update install instructions for WHMCS module


I’m trying to configure WHMCS module but I’m a bit confused by the instructions it seems they’re not up to date. WHMCS wouldn’t accept my autovm server name as a hostname. API is located at http://serverip/api but after filling this info in WHMCS it gives an error. In wiki (https://wiki.autovm.net/index.php?title=Install_WHMCS_module) it’s mentioned that you need to enter a hostname and leave IP field blank. I have browsed through this forum and managed to find some more recent instructions saying that you need to enter the IP in the IP field. But it’s impossible to enter the complete API address there just the IP part. So could you please let me know which way is correct? I’d prefer a full detailed description (update the wiki?) but if you’re busy you could just give me a hint… Please assist.

In the newer version of WHMCS, you must change the hostname of the server from the WHMCS database.
You can find the servers in the tblservers.

Thanks for your speedy response. Just that? What about other fields? IP needs to be entered or not? API key should be entered in username field and password should be left blank?

The ip address for the new VM will be selected automatically.
Yes, you must enter the API key in the username field and leave the password field blank.

So it should be like this (please see attach)? And then just edit the database (IP to IP/api)? I’m sorry install instructions are a bit confusing please guide me.

You must enter the full api address in the hostname like below

Thanks, yes we did it later by editing the database directly. But the provisioning doesn’t work: VPS shows up in AutoVM and WHMCS but not in VMware. Is there anything else we need to adjust?

did you install any OS after creating VM in autovm?