For WHMCS to automatically create, suspend, and terminate hosting accounts, it needs to be able to communicate with your web server. This guide shows you how to add your Arh24.com Plesk server to WHMCS.
Step 1: Get Your Server Details
You will need the following information from your Reseller or VPS hosting account:
- Server IP Address: The main IP address of your server.
- Plesk Admin Login: Your administrator username (usually 'admin' or a custom one) and password for Plesk.
- Secure Connection: Ensure you can connect securely (HTTPS) to your Plesk panel.
Step 2: Add the Server in WHMCS
- Log in to your WHMCS Admin Area.
- Navigate to Setup > Products/Services > Servers.
- Click the "Add New Server" button.
- Name: Give your server a friendly name (e.g., "Plesk Server 1").
- Hostname or IP Address: Enter your server's primary IP address.
- Server Details Section:
- Type: Select "Plesk" from the dropdown menu.
- Username: Enter your Plesk administrator username.
- Password: Enter your Plesk administrator password. Click "Validate Connection" to ensure WHMCS can connect successfully. A "SUCCESSFUL!" message should appear.
- Secure: Tick this box to connect over HTTPS, which is highly recommended.
- Click "Save Changes".
Step 3: Create a Server Group
Server groups allow you to organize servers and set rules for how new accounts are provisioned.
- On the same Servers page, click the "Create New Group" button.
- Give the group a name (e.g., "Shared Hosting Servers").
- From the list of servers on the left, select the server you just added and click the "Add ->" button to move it into the group.
- Choose a fill type. "Add to the least full server" is a good option if you plan to have multiple servers.
- Click "Save Changes".
Step 4: Assigning Products to the Server
The final step is to tell your products which server to use for automatic setup.
- Go to Setup > Products/Services > Products/Services.
- Click the edit icon next to a hosting product you've created.
- Go to the "Module Settings" tab.
- For Module Name, select "Plesk".
- For Server Group, select the server group you created in the previous step.
- Configure the rest of the package options as needed (e.g., Plesk Plan Name).
- Click "Save Changes".
Your WHMCS is now fully configured to communicate with your server. When a client orders this product and pays the invoice, WHMCS will automatically create their hosting account on your Plesk server.