Plesk
Contents
- 1 Supported Features
- 2 Available Modules
- 3 Setting Up a Plesk Server
- 4 Setting Up a Plesk Package
- 5 Common Problems
- 5.1 The client account is getting setup but the domain is not
- 5.2 I get a blank command error from WHMCS when it tries to setup an account
- 5.3 With accounts created on my Plesk server from WHMCS the www. subdomain doesn't work
- 5.4 Module Command Error: 1006 - Permission denied.
- 5.5 Module Command Error: 1013 - Template does not exist
- 5.6 Module Command Error: 1014 - Parser error: Request is invalid
- 5.7 Module Command Error: 1014 - Parser error: Cannot parse the XML from the source specified
- 5.8 Module Command Error: 1018 - Unable to create hosting. IP address does not exist in client's pool
- 5.9 Error code: 0 Unable to find appropriate manager for this version of Panel. Plesk should be at least 8.0 version
- 5.10 Page not Found/Timeout/502 Bad Gateway error creating accounts with Plesk 10+
- 5.11 Module Command Error: 2306 - Domain adding was failed. Error: xxxxx template failed: Unable to apply limits
- 5.12 Unable to create account in Panel. The field 'username' is required.
Supported Features
Create | Suspend | Unsuspend | Terminate |
---|---|---|---|
Yes | Yes | Yes | Yes |
Change Package | Change Password | Usage Updates | Client Area Link |
---|---|---|---|
Yes | Yes | Yes | Yes |
The following ports should be open for outbound connections from your WHMCS server: 8443
Supported Plesk Versions: 11, 11.5, 12, 12.5, Onyx
Available Modules
In WHMCS 6.0, we are consolidating the Plesk modules we ship and support.
Plesk 8, 9 and 10 Support Discontinued
Plesk 8, 9, and 10 have reached End of Life (Ref: Plesk Lifecycle) and are no longer supported by Plesk and therefore we will be ending our support for them also. The Plesk 8, 9 and 10 modules will not be included in WHMCS 6.0 and above.
Plesk 11 and 12 Support
Plesk 11 and 12, which both remain in active support by Plesk, are supported through the unified "Plesk" module described herein and will continue to be shipped, maintained and supported by us. It should also continue to function with servers running Plesk 10.
Plesk Onyx
First released as a preview towards the end of 2016, Plesk Onyx is the next release of the Plesk Web Hosting Control Panel following Plesk 12.5. Plesk Onyx is the first release of Plesk following the introduction of their new product naming convention and dropping of version numbers. Plesk Onyx is supported through the unified "Plesk" module described below.
Setting Up a Plesk Server
The following steps guide you through the process of setting up a server in WHMCS for Plesk Hosting Accounts in Plesk 11-12.
- Begin by going to Setup > Products/Services > Servers
- Click Add New Server
- Enter the server name, IP address, username and password as appropriate
- Set the type to Plesk
- Custom Port: If you have a non-standard (8443) port for Plesk, you should enter the port number in the Access Hash section of the Server setup
- Be sure to tick the Secure option to connect using SSL mode as it is required by Plesk
- Click the Test Connection button to make sure the details are entered correctly and WHMCS can connect to Plesk
- Once the test connection reports success, click Save Changes to complete the process and add your new server
Setting Up a Plesk Package
To setup a Plesk package, go to Setup > Products/Services > Products/Services. From there, you can create the product and configure the general settings and pricing info as normal, then for a shared hosting plan:
- On the Module Settings tab, select "plesk" in the module dropdown field and then for a shared hosting package:
- Create a Service Plan inside Plesk itself (in Hosting Services > Service Plans) and then just enter the Service Plan Name into WHMCS exactly as it appears in Plesk.
- From the Which IP addresses to use? dropdown select how you wish PLesk to assign IP addresses when acocunts using this product are created.
- And then finally as with all products you have the option of choosing the automatic setup option you want for new orders, be it immediately as soon as the order is placed, as soon as the initial payment has been received (recommended) or waiting until an admin manually reviews & accepts the pending orders
For a reseller package
- Set the settings for the resellers own hosting account as above with one difference, the Product Type setting must be Reseller Account.
- Create a service plan inside Plesk itself (in Hosting Services > Service Plans > Reseller Plans tab)
- Under the Module Settings tab enter the Service Plan Name and Reseller Plan Name into WHMCS exactly as they appear in Plesk to define the resellers limits & permissions.
Notes
Creating a Reseller account will not create a shared hosting space for the reseller's website. Once the account has been created, the reseller can login to Plesk and set up their own hosting space.
Additional Options
The Plesk module supports two ways of increasing the value of your services (or upsell options) via addons and dedicated IP addresses.
Panel Addons
- Navigate to Setup > Products/Services > Configurable Options
- To attach Panel add-ons to the product, create a configurable option in the format:
Plesk <Panel add-on name>
- Replace <Panel add-on name> with the name of the add-on exactly as they appear within the Plesk Panel add-ons page.
- For example, if you refer to image Plesk Panel Addons, you can see one of the addons configured is Extra Bandwidth, with the resource of 5GB or 10GB.
- We therefore have set inside WHMCS the name of this configurable addon to be Plesk Extra Bandwidth, see image WHMCS Plesk Configurable Options.
- Lastly, to ensure that both the bandwidth options inside Plesk and the ones set inside WHMCS match, we have set the two options of 10Gb Extra Bandwidth and 5Gb Extra Bandwidth inside WHMCS, refer to image WHMCS Plesk Bandwidth Configurable Options.
- Finally, ensure the products for which you wish to offer these options are selected in the 'Assigned Products' field.
- More detailed instructions on creating configurable options are available here.
Dedicated IP Address
- Navigate to Setup > Products/Services > Configurable Options
- Create configurable options with names Dedicated IPv4 or Dedicated IPv6 depending on the type of IP addresses that you want to offer.
- Select the Option Type Yes/No for these options.
- Finally, ensure the products for which you wish to offer these options are selected in the 'Assigned Products' field.
- More detailed instructions on creating configurable options are available here.
TIP:
A 'friendly name' can be assigned to configurable options so as to display a different name to clients on the WHMCS order form and client area. This is sometimes preferable to displaying the system value as it appears inside Plesk: Friendly Display Names.
Common Problems
The client account is getting setup but the domain is not
This is usually due to the permissions of the domain template exceeding the server resources or containing something such as ColdFusion support when the server doesn't support it. You should always test your domain template works directly in Plesk after setting it up if it is a new setup.
I get a blank command error from WHMCS when it tries to setup an account
This can occur if your firewall is blocking connections on port 8443. You need to open it on both the server WHMCS is on and the server WHMCS is connecting to for inbound and outbound connections.
With accounts created on my Plesk server from WHMCS the www. subdomain doesn't work
This happens due to the default DNS settings on a Plesk server and the requirement to tick a box when creating an account to enable it. To avoid that, simply follow the steps below.
- Login to Plesk
- Click "Server"
- Click "DNS Settings"
- Click "Add New Record"
- Choose "CNAME" under record type
- Enter "www" in "Enter Domain Name"
- Enter "<domain>" in "Enter Canonical Name"
- Hit OK to complete the changes
Module Command Error: 1006 - Permission denied.
This indicates your Plesk login doesn't have the necessary permissions to use the API. You need the admin of the server to grant your Plesk reseller account permission to use the API - specifically this permission "Ability to use remote API" and that should resolve it
Module Command Error: 1013 - Template does not exist
This error message is coming direct from the Plesk API. When configuring the product, you have to enter the client and domain template names. These are currently incorrect or missing so you will need to correct them in Setup > Products/Services on the Modules Settings tab when editing your product
Module Command Error: 1014 - Parser error: Request is invalid
This error message indicates there is a field value missing - this is most commonly caused by having no assigned IPs in the client or domain templates IP pool.
Module Command Error: 1014 - Parser error: Cannot parse the XML from the source specified
The Plesk API only supports the characters a-z 0-9. If the client's profile contains other characters, accents etc, it will cause account creation to fail. You should edit the client's profile to remove these characters.
Module Command Error: 1018 - Unable to create hosting. IP address does not exist in client's pool
This error generally indicates that there is an issue with the IP pool configuration in Plesk. For example there not be any available IP addresses or having the first IP set as dedicated when it should be shared.
Error code: 0 Unable to find appropriate manager for this version of Panel. Plesk should be at least 8.0 version
This is a generic error message returned by the Plesk module; for example it could be indicative of a connection error or invalid credentials To identify the underlying error that is occurring the Utilities > Logs > Module Log tool can be used. Please enable it, reproduce the error, disable it again and the Response column will show the underlying error.
More detailed instructions using the Module Log are published at Troubleshooting_Module_Problems.
Page not Found/Timeout/502 Bad Gateway error creating accounts with Plesk 10+
By default Plesk 10 and above performs a forced restart of apache when an account is created or suspended which causes WHMCS to lose connection to the server, and if your WHMCS is on the same server, you will also lose connection to WHMCS at the same time. In order to resolve this please refer to the following knowledgebase article for instructions on configuring Plesk to perform a graceful restart instead: https://support.plesk.com/hc/en-us/articles/213907285
Module Command Error: 2306 - Domain adding was failed. Error: xxxxx template failed: Unable to apply limits
This error message comes direct from the Plesk API. It means that the template you are attempting to use exceeds your limits or has a feature your server doesn't support. You should try creating an account with the template inside Plesk itself as then you get more details about the problem.
Unable to create account in Panel. The field 'username' is required.
This means the username under the client's Products/Services tab is empty.
You should enter a username, save changes and try module creation again. Also ensure Setup > Products/Services > Products/Services > Edit > Require Domains is ticked to avoid this in future.
Server Modules
cPanel/WHM - DirectAdmin - Plesk - Helm 3 - Helm 4 - Ensim - InterWorx - WebsitePanel - Cloudmin
Lxadmin - Virtualmin Pro - XPanel - HyperVM - SolusVM - Cloudmin - WHMSonic - VPS.Net
CentovaCast - SCPanel - MediaCP - GameCP - TCAdmin - Reseller Central - Auto Release - Heart Internet
Registrar Modules
Enom - ResellerClub - Nominet - OpenSRS - ResellOne - OnlineNIC - PlanetDomain - Affordable Domains
TPP Wholesale - TPPInternet - Stargate - Namecheap - NetEarthOne - Bizcn - InternetBS - GMO Internet
12Register - Registercom - DotDNS - WebNIC - Dot.TK - HexoNet - Realtime Register - Registereu
RRPProxy - ResellerCamp - TransIP - Heart Internet - IPMirror - NetRegistry - OVH - VentraIP Wholesale
Email - 101Domain
Fraud Modules
MaxMind - VariLogiX FraudCall - Telesign
Gateway Modules
2CheckOut - AsiaPay - Auth.net Echeck - Authorize.net - Authorize.net CIM - Bank Transfer - BidPay
BluePay - BluePay Echeck - BluePay Remote - Boleto - CashU - CC Avenue - ChronoPay - Direct Debit
EMatters - E-Path - eProcessingNetwork - eWAY Tokens - F2B - Finansbank - GarantiBank - Gate2Shop
Inpay - InternetSecure - IP.Pay - Kuveytturk - Modulo Moip - Mail In Payment - Merchant Partners
Merchant Warrior - IDEALMollie - Moneris - Moneris Vault - Skrill 1-Tap - NaviGate - NETbilling
Netregistry Pay - NoChex - Offline Credit Card - Optimal Payments - PagSeguro - Payflow Pro - Pay Junction
Paymate AU and NZ - Payment Express - PayPal - PayPal Card Payments - PayPal Express Checkout
PayPal Payments - PayPal Payments Pro - PayPoint.net (SecPay) - Payson - Planet Authorize - ProtX VSP Form
PSIGate - Quantum Gateway - Quantum Vault - SagePay - SagePay Tokens v2 - SecurePay
SecurePay AU - Secure Trading - TrustCommerce - USA ePay - WorldPay - WorldPay Invisible