Difference between revisions of "Plesk"

From WHMCS Documentation

(Plesk 8, 9 and 10 Support Discontinued)
(Add-On Features)
 
(94 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
== About this Module ==
 +
 +
The Plesk module allows you to add and manage Plesk servers in WHMCS.
 +
 +
<div class="docs-alert-info">
 +
* This module is compatible with Plesk versions 11, 11.5, 12, 12.5, Onyx, and Obsidian.
 +
* You can also [[Plesk Single Sign-On|use single sign-on with Plesk]].
 +
</div>
 +
===Plesk Onyx===
 +
 +
Plesk Onyx is the next release of the Plesk Web Hosting Control Panel following Plesk 12.5.
 +
 +
First released as a preview towards the end of 2016, Plesk Onyx is the first release of Plesk following the introduction of their new product naming convention and dropping of version numbers.
 +
 +
However, fundamentally Plesk Onyx is still Plesk, and is compatible with WHMCS using the Plesk module.
 
{{Provisioning_Module
 
{{Provisioning_Module
 
| changepackage = Yes
 
| changepackage = Yes
Line 5: Line 20:
 
| clientarealink = Yes
 
| clientarealink = Yes
 
| port = 8443}}
 
| port = 8443}}
 +
 +
== Adding a Plesk Server ==
 +
 +
To set up a Plesk server in WHMCS:
 +
 +
# Go to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Servers]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Servers'''.
 +
# Click '''Add New Server'''.
 +
# Select ''Plesk'' from the menu.
 +
# Enter the hostname or IP address.
 +
# Enter a username and password.
 +
# Click '''Test Connection'''.
 +
# Enter the desired additional server details.
 +
# Click '''Save Changes'''.
 +
# If this is the only Plesk server that is currently in WHMCS, click on the name and ensure that it results in an asterisk (*) next to it. This indicates that it is the default to use when any other non-specific configuration doesn't apply.
 +
 +
For more information, see [https://help.whmcs.com/m/87388/l/1076210 Creating Your First Plesk Server].
 +
 +
== Creating a Plesk Product ==
 +
 +
[[File:plesk12_3new.png|thumb|Creating a Plesk Product]]
 +
 +
You can create a product that provisions accounts on your Plesk server at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Products_and_Services|Products/Services]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Products/Services'''. 
 +
 +
=== Configurable Options ===
 +
 
<div class="docs-alert-info">
 
<div class="docs-alert-info">
<span class="title">Supported Plesk Versions:</span> 11, 11.5, 12
+
* If you set up configurable options, you will also use Plesk's Panel Addons. This Plesk feature is '''not''' part of WHMCS's product addon system.
 +
* A friendly name can be assigned to configurable options in order to display a different name to clients. This is sometimes preferable to displaying the system value as it appears inside Plesk. For more information, see [[Addons_and_Configurable_Options#Friendly_Display_Names|Friendly Display Names]].
 
</div>
 
</div>
 
   
 
   
== Available Modules ==
+
[[File:Plesk_addons.png |thumb|Plesk Panel Addons]]
In WHMCS 6.0, we are consolidating the Plesk modules we ship and support.
+
[[File:Plesk_config_opt_setup_8-2.png |thumb|WHMCS Plesk Configurable Options]]
===Plesk 8, 9 and 10 Support Discontinued===
+
[[File:WHMCS-plesk-extra-bandwidth-8-2.png |thumb|WHMCS Plesk Bandwidth Configurable Options]]
Plesk 8, 9, and 10 have reached End of Life (Ref: [http://www.odin.com/uk/support/policy/plesk-lifecycle/ Plesk Lifecycle]) and are no longer supported by Odin 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.
+
 +
To create configurable options that attach Plesk's Panel Addons to your Plesk products:
 +
 +
# Go to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Configurable Options]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Configurable Options'''.
 +
# Perform one of the following actions:
 +
#* Click the '''Edit''' icon for an existing group.
 +
#* Click '''Create a New Group''', configure the group name, description, and assigned products, and then click '''Save Changes'''.
 +
# Click '''Add New Configurable Option'''.
 +
# Enter an option name using the <tt>Plesk Panel-Addon-Name</tt> name format, replacing <tt>Panel-Addon-Name</tt> with the exact name that displays in Plesk for that Plesk Panel Addon. For example:
 +
#* In the '''Plesk Panel Addons''' image above, one of the configured Panel Addons is '''Extra Bandwidth''', with resources of <tt>5GB</tt> or <tt>10GB</tt>.
 +
#* In WHMCS in the '''WHMCS Plesk Configurable Options''' image above, this is '''Plesk Extra Bandwidth'''.
 +
#* In the '''WHMCS Plesk Bandwidth Configurable Options''' image above, '''10GB Extra Bandwidth''' and '''5GB Extra Bandwidth''' are set to ensure that the bandwidth options in Plesk and WHMCS match.<div class="docs-alert-info">We recommend that you set the first option to '''None''' or a similar value. When you do this, ensure that the '''Panel Addon''' uses a value of <tt>0</tt>. This gives the user the ability to choose not to have any additional values per option.</div>
 +
# Select ''Yes/No'' or ''Dropdown'' as the '''Option Type''' setting.
 +
# Enter the desired options and display order.
 +
# Click '''Save Changes'''.
 +
# Create each desired additional option.
 +
# Click '''Close Window'''.
 +
# Select the desired products in the '''Assigned Products''' list.
 +
# Click '''Save Changes'''.
 +
# Go to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Products_and_Services|Products/Services]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Products/Services'''.
 +
# Edit the desired product or service.
 +
# In the '''Configurable Options''' tab, select the desired options.
 +
# Click '''Save Changes'''.
 +
 
 +
==== Dedicated IP Address ====
 +
 +
To create configurable options that provision a dedicated IP address, use either or both of these exact names when you create configurable options:
 +
 
 +
* <tt>Dedicated IPv4</tt>
 +
* <tt>Dedicated IPv6</tt>
 +
 
 +
Select ''Yes/No'' from the '''Option Type''' menu for these options.
 +
 
 +
====Overriding Overage Billing Soft Limits with Configurable Options====
 +
 +
When using configurable options to override the soft limits for overage billing on a Plesk product, you must create a <tt>config.ini</tt> file in the <tt>/modules/servers</tt> directory with the following contents:
 +
 +
;WHMCS Plesk Provisioning Module Config File
 +
skip_addon_prefix = true
 +
 
 +
After you create this file, ensure that you have configured <tt>Disk Space</tt> and <tt>Bandwidth</tt> configurable options using our [[Disk_Space_and_Bandwidth_Overage_Billing#Custom_Fields_and_Configurable_Options|Custom Fields and Configurable Options]] documentation. This will ensure that the overrides function correctly.
 +
 
 +
== Add-On Features ==
 +
 
 +
In WHMCS 8.2 and later, in addition to WHMCS's existing product addon functionality (now an '''Independent Product'''), you can create an '''Add-On Feature'''. These addons let you sell module-specific features that are available through cPanel & WHM and Plesk, like WP Toolkit or, in WHMCS 8.10 and later, Sitejet Builder.
 +
 
 +
For more information and steps to create an addon, see [[Product Addons]].
 +
 
 +
=== Reseller Packages ===
 +
 
 +
When creating a reseller package, create the service plan on your Plesk server in the '''Reseller Plans''' tab at '''Hosting Services > Service Plans'''.
 +
 
 +
When you configure the product in WHMCS, use the following settings:
  
===Plesk 11 and 12 Support===
+
* In the '''Details''' tab, set the '''Product Type''' setting to ''Reseller Account''.
Plesk 11 and 12, which both remain in active support by Odin, 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.
+
* In the '''Module Settings''' tab, set the '''Service Plan Name''' ''and'' '''Reseller Plan Name''' settings.
== 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'''[[File:Plesk custom port.png|thumb|Setting a custom port]]
 
#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
 
#Click the '''Test Connection''' button to make sure the detials 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 ==
 
[[File:plesk12_1.png|thumb|Plesk Module Settings]][[File:plesk12_3.png|thumb|Creating a Hosting Plan]]
 
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===
 
[[File:plesk12_2.png|thumb|Plesk Module Settings]][[File:plesk12_4.png|thumb|Creating a Reseller Plan]]
 
#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>
+
Creating a reseller account will '''not''' create a shared hosting space for the reseller's website. After account creation, the reseller can log in to Plesk and set up their own hosting space.
  
Replacing <Panel add-on name> with the name of the add-on exactly as they appear within the Plesk Panel add-ons page.
+
===Metric Billing===
* 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 [[Addons_and_Configurable_Options|available here]].
+
<div class="docs-alert-info"><i class="fa fa-info-circle"></i>We added metric billing for Plesk in WHMCS 8.5.</div>
 +
 +
You can bill clients for their use of individual items like databases or bandwidth. You can choose whether to include a certain amount in the base price and only charge for exceeding a certain limit, offer tiered pricing, or charge for every unit of an item.
 +
 +
You can configure metric billing in the '''Metric Billing''' tab.
 +
 +
When a client orders this product, WHMCS will track the account's use of the items you configured. On the service's '''Next Due Date''', the system will record that period's usage and add the cost to the service's renewal invoice.
 +
 +
For more information, see [[Usage Billing]].
 +
 
 +
=== Log in to Plesk ===
 +
 
 +
When you click '''Log in to Plesk''' in the Client Area ''or'' Admin Area, WHMCS bases its actions on the server hostname if it is available. If it is not, WHMCS uses the IP address.  
 +
 
 +
The use of <tt>http</tt> and <tt>https</tt> login links depends on the '''Secure''' setting in your server's configuration.
 +
 
 +
=== WHMCS Connect ===
 +
 
 +
WHMCS Connect allows you and your administrators to quickly and easily access the control panels of all the servers configured in your WHMCS installation that support Single Sign-On, enabling you and your staff to administer and make changes without ever needing to re-authenticate.
 +
 +
For more information, see [[WHMCS_Connect]].
 +
 
 +
== Troubleshooting ==
 +
 
 +
=== 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 unsupported (for example, ColdFusion). Always test whether your domain template works directly in Plesk after setting it up.
 +
 
 +
=== I get a blank command error from WHMCS when it tries to setup an account ===
  
===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 [[Addons_and_Configurable_Options|available here]].
 
<div class="docs-alert-info">
 
<span class="title">TIP: </span><br />
 
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: [[Addons_and_Configurable_Options#Friendly_Display_Names|Friendly Display Names]].
 
</div>
 
==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.
 
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.
+
=== With accounts created on my Plesk server from WHMCS the www. subdomain doesn't work ===
#Login to Plesk
+
 
#Click "Server"
+
This happens due to the default DNS settings on a Plesk server and the requirement to check a box when creating an account to enable it.  
#Click "DNS Settings"
+
 
#Click "Add New Record"
+
To avoid that, simply follow the steps below.
#Choose "CNAME" under record type
+
# Log in to Plesk.
#Enter "www" in "Enter Domain Name"
+
# Click '''Server'''.
#Enter "<domain>" in "Enter Canonical Name"
+
# Click '''DNS Settings'''.
#Hit OK to complete the changes
+
# Click '''Add New Record'''.
===Module Command Error: 1006 - Permission denied.===
+
# Choose '''CNAME''' under the record type.
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
+
# Enter <tt>www</tt> in '''Enter Domain Name'''.
===Module Command Error: 1013 - Template does not exist===
+
# Enter <tt><domain></tt> in '''Enter Canonical Name'''.
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
+
# Click '''OK''' to complete the changes.
===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.
+
=== Page not Found/Timeout/502 Bad Gateway error creating accounts ===
===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.
+
By default, Plesk performs a forced restart of Apache when an account is created or suspended. This causes WHMCS to lose connection to the server, and, if WHMCS is on the same server, you will also lose connection to WHMCS.
===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.
+
To resolve this, see [https://support.plesk.com/hc/en-us/articles/213907285 Plesk's support article].
===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.
+
=== 503 Service Temporarily Unavailable error creating accounts ===
In order to resolve this please refer to the following knowledgebase article for instructions on configuring Plesk to perform a graceful restart instead: http://kb.parallels.com/en/112020
+
 
===Module Command Error: 2306 - Domain adding was failed. Error: xxxxx template failed: Unable to apply limits===
+
By default, Plesk performs a forced restart of Apache when an account is created or suspended. This causes WHMCS to lose connection to the server, and, if WHMCS is on the same server, you will also lose connection to WHMCS.
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.
+
 
 +
To resolve this, see [https://support.plesk.com/hc/en-us/articles/115003664213-Unable-to-create-domain-through-WHMCS-503-Service-Temporarily-Unavailable Plesk's support article].
 +
 
 +
===Unable to create account in Panel. The field 'username' is required.===
 +
 
 +
This means the username under the client's '''Products/Services''' tab is empty.
 +
 
 +
Enter a username, save changes, and try module creation again. Then, ensure that '''Require Domains''' is enabled for the product at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Products and Services|Products/Services]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services'''.
 +
 
 +
===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 that the Plesk module returns. For example, it could indicate a connection error or invalid credentials.
 +
 
 +
To identify the underlying error that is occurring, check the '''Module Log''' at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > [[System Logs]]''' or, prior to WHMCS 8.0, '''Utilities > Logs > Module Log'''. Enable it, reproduce the error, disable it again, and the ''''Response''' column will show the underlying error.
 +
 
 +
For more information, see [[Troubleshooting_Module_Problems]].
 +
 
 +
===1006 - Permission denied===
 +
 
 +
This indicates that your Plesk login doesn't have the necessary permissions to use the API. You need the server administrator to grant your Plesk reseller account the '''Ability to use remote API''' permission.
 +
 
 +
===1013 - Template does not exist===
 +
 
 +
This error message is coming directly from the Plesk API and indicates that the client and domain template names are incorrect or missing. You can correct these in the product's '''Module Settings''' tab.
 +
 
 +
===1013 - Error message: Customer with email 'johndoe@example.com' is not found in panel===
 +
 
 +
There are two potential causes of this error message:
 +
 
 +
==== Incorrect product type ====
 +
 
 +
The product type is set incorrectly in WHMCS (for example, a reseller plan is configured as a shared hosting product in WHMCS).
 +
 
 +
To resolve this:
 +
 
 +
# Log in to WHMCS Admin Area.
 +
# Navigate to '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Products and Services|Products/Services]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Products/Services'''.
 +
# Set '''Product Type''' to ''Shared Hosting'' or ''Reseller Hosting'' to match the Plesk plan type.
 +
# Click '''Save Changes'''.
 +
 
 +
==== Missing data from a table inside Plesk ====
 +
 
 +
If the error persists after following the ''Incorrect product type'' steps above, see [https://support.plesk.com/hc/en-us/articles/213932225-Error-while-accessing-Plesk-from-WHMCS-via-API-Customer-with-external-id-whmcs-plesk-XX-is-not-found-in-panel this article].
 +
 
 +
===1013 - Error message: Customer with external id 'xxxxxxxx' is not found in panel===
 +
 
 +
Refer to the solution for [[#1013 - Error message: Customer with email 'johndoe@example.com' is not found in panel|1013 - Error message: Customer with email 'johndoe@example.com' is not found in panel]] above.
 +
 
 +
===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 IP addresses in the client or domain template's IP pool.
 +
 
 +
===1014 - Parser error: Cannot parse the XML from the source specified===
 +
 
 +
The Plesk API only supports the characters a-z and 0-9. If the client's profile contains accents or other characters, it will cause account creation to fail. Edit the client's profile to remove these characters.
 +
 
 +
===1018 - Unable to create hosting. IP address does not exist in client's pool===
 +
 
 +
This error indicates that there is an issue with the IP address pool configuration in Plesk. For example, there may not be any available IP addresses or the first IP address may be set as dedicated instead of shared.
 +
 
 +
===1023 - Unable to accept the template: the following limitations are exceeded===
 +
 
 +
This issue occurs when the resources provided by the serivce plan addon were already used by the subscription.  
 +
 
 +
To resolve this:
 +
 
 +
# In the subscription for that domain name, remove the referenced addon in Plesk.
 +
# In WHMCS, go to the product or service's '''Products/Services''' tab.
 +
# Use the "Upgrade/Downgrade" option to create an upgrade order.  
 +
 
 +
===2306 - Domain adding was failed. Error: xxxxx template failed: Unable to apply limits===
 +
 
 +
This error message comes direct from the Plesk API. It indicates that the template you are attempting to use exceeds your limits or has a feature your server doesn't support. Create an account with the template inside Plesk to retrieve further details.
 +
 
 +
===Plesk login requires user authentication===
 +
 
 +
This issue can happen when the user has a dynamic IP addresses or an unstable internet connection. Selecting '''Allow IP changes during one session''' in Plesk [https://docs.plesk.com/en-US/obsidian/administrator-guide/server-administration/session-preferences.60305/ will resolve this].
 +
 
 
{{modules}}
 
{{modules}}

Latest revision as of 14:43, 18 March 2024

Contents

About this Module

The Plesk module allows you to add and manage Plesk servers in WHMCS.

Plesk Onyx

Plesk Onyx is the next release of the Plesk Web Hosting Control Panel following Plesk 12.5.

First released as a preview towards the end of 2016, Plesk Onyx is the first release of Plesk following the introduction of their new product naming convention and dropping of version numbers.

However, fundamentally Plesk Onyx is still Plesk, and is compatible with WHMCS using the Plesk module.

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

Adding a Plesk Server

To set up a Plesk server in WHMCS:

  1. Go to Configuration () > System Settings > Servers or, prior to WHMCS 8.0, Setup > Products/Services > Servers.
  2. Click Add New Server.
  3. Select Plesk from the menu.
  4. Enter the hostname or IP address.
  5. Enter a username and password.
  6. Click Test Connection.
  7. Enter the desired additional server details.
  8. Click Save Changes.
  9. If this is the only Plesk server that is currently in WHMCS, click on the name and ensure that it results in an asterisk (*) next to it. This indicates that it is the default to use when any other non-specific configuration doesn't apply.

For more information, see Creating Your First Plesk Server.

Creating a Plesk Product

Creating a Plesk Product

You can create a product that provisions accounts on your Plesk server at Configuration () > System Settings > Products/Services or, prior to WHMCS 8.0, Setup > Products/Services > Products/Services.

Configurable Options

  • If you set up configurable options, you will also use Plesk's Panel Addons. This Plesk feature is not part of WHMCS's product addon system.
  • A friendly name can be assigned to configurable options in order to display a different name to clients. This is sometimes preferable to displaying the system value as it appears inside Plesk. For more information, see Friendly Display Names.
Plesk Panel Addons
WHMCS Plesk Configurable Options
WHMCS Plesk Bandwidth Configurable Options

To create configurable options that attach Plesk's Panel Addons to your Plesk products:

  1. Go to Configuration () > System Settings > Configurable Options or, prior to WHMCS 8.0, Setup > Products/Services > Configurable Options.
  2. Perform one of the following actions:
    • Click the Edit icon for an existing group.
    • Click Create a New Group, configure the group name, description, and assigned products, and then click Save Changes.
  3. Click Add New Configurable Option.
  4. Enter an option name using the Plesk Panel-Addon-Name name format, replacing Panel-Addon-Name with the exact name that displays in Plesk for that Plesk Panel Addon. For example:
    • In the Plesk Panel Addons image above, one of the configured Panel Addons is Extra Bandwidth, with resources of 5GB or 10GB.
    • In WHMCS in the WHMCS Plesk Configurable Options image above, this is Plesk Extra Bandwidth.
    • In the WHMCS Plesk Bandwidth Configurable Options image above, 10GB Extra Bandwidth and 5GB Extra Bandwidth are set to ensure that the bandwidth options in Plesk and WHMCS match.
      We recommend that you set the first option to None or a similar value. When you do this, ensure that the Panel Addon uses a value of 0. This gives the user the ability to choose not to have any additional values per option.
  5. Select Yes/No or Dropdown as the Option Type setting.
  6. Enter the desired options and display order.
  7. Click Save Changes.
  8. Create each desired additional option.
  9. Click Close Window.
  10. Select the desired products in the Assigned Products list.
  11. Click Save Changes.
  12. Go to Configuration () > System Settings > Products/Services or, prior to WHMCS 8.0, Setup > Products/Services > Products/Services.
  13. Edit the desired product or service.
  14. In the Configurable Options tab, select the desired options.
  15. Click Save Changes.

Dedicated IP Address

To create configurable options that provision a dedicated IP address, use either or both of these exact names when you create configurable options:

  • Dedicated IPv4
  • Dedicated IPv6

Select Yes/No from the Option Type menu for these options.

Overriding Overage Billing Soft Limits with Configurable Options

When using configurable options to override the soft limits for overage billing on a Plesk product, you must create a config.ini file in the /modules/servers directory with the following contents:

;WHMCS Plesk Provisioning Module Config File
skip_addon_prefix = true

After you create this file, ensure that you have configured Disk Space and Bandwidth configurable options using our Custom Fields and Configurable Options documentation. This will ensure that the overrides function correctly.

Add-On Features

In WHMCS 8.2 and later, in addition to WHMCS's existing product addon functionality (now an Independent Product), you can create an Add-On Feature. These addons let you sell module-specific features that are available through cPanel & WHM and Plesk, like WP Toolkit or, in WHMCS 8.10 and later, Sitejet Builder.

For more information and steps to create an addon, see Product Addons.

Reseller Packages

When creating a reseller package, create the service plan on your Plesk server in the Reseller Plans tab at Hosting Services > Service Plans.

When you configure the product in WHMCS, use the following settings:

  • In the Details tab, set the Product Type setting to Reseller Account.
  • In the Module Settings tab, set the Service Plan Name and Reseller Plan Name settings.

Creating a reseller account will not create a shared hosting space for the reseller's website. After account creation, the reseller can log in to Plesk and set up their own hosting space.

Metric Billing

We added metric billing for Plesk in WHMCS 8.5.

You can bill clients for their use of individual items like databases or bandwidth. You can choose whether to include a certain amount in the base price and only charge for exceeding a certain limit, offer tiered pricing, or charge for every unit of an item.

You can configure metric billing in the Metric Billing tab.

When a client orders this product, WHMCS will track the account's use of the items you configured. On the service's Next Due Date, the system will record that period's usage and add the cost to the service's renewal invoice.

For more information, see Usage Billing.

Log in to Plesk

When you click Log in to Plesk in the Client Area or Admin Area, WHMCS bases its actions on the server hostname if it is available. If it is not, WHMCS uses the IP address.

The use of http and https login links depends on the Secure setting in your server's configuration.

WHMCS Connect

WHMCS Connect allows you and your administrators to quickly and easily access the control panels of all the servers configured in your WHMCS installation that support Single Sign-On, enabling you and your staff to administer and make changes without ever needing to re-authenticate.

For more information, see WHMCS_Connect.

Troubleshooting

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 unsupported (for example, ColdFusion). Always test whether your domain template works directly in Plesk after setting it up.

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 check a box when creating an account to enable it.

To avoid that, simply follow the steps below.

  1. Log in to Plesk.
  2. Click Server.
  3. Click DNS Settings.
  4. Click Add New Record.
  5. Choose CNAME under the record type.
  6. Enter www in Enter Domain Name.
  7. Enter <domain> in Enter Canonical Name.
  8. Click OK to complete the changes.

Page not Found/Timeout/502 Bad Gateway error creating accounts

By default, Plesk performs a forced restart of Apache when an account is created or suspended. This causes WHMCS to lose connection to the server, and, if WHMCS is on the same server, you will also lose connection to WHMCS.

To resolve this, see Plesk's support article.

503 Service Temporarily Unavailable error creating accounts

By default, Plesk performs a forced restart of Apache when an account is created or suspended. This causes WHMCS to lose connection to the server, and, if WHMCS is on the same server, you will also lose connection to WHMCS.

To resolve this, see Plesk's support article.

Unable to create account in Panel. The field 'username' is required.

This means the username under the client's Products/Services tab is empty.

Enter a username, save changes, and try module creation again. Then, ensure that Require Domains is enabled for the product at Configuration () > System Settings > Products/Services or, prior to WHMCS 8.0, Setup > Products/Services.

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 that the Plesk module returns. For example, it could indicate a connection error or invalid credentials.

To identify the underlying error that is occurring, check the Module Log at Configuration () > System Logs or, prior to WHMCS 8.0, Utilities > Logs > Module Log. Enable it, reproduce the error, disable it again, and the 'Response column will show the underlying error.

For more information, see Troubleshooting_Module_Problems.

1006 - Permission denied

This indicates that your Plesk login doesn't have the necessary permissions to use the API. You need the server administrator to grant your Plesk reseller account the Ability to use remote API permission.

1013 - Template does not exist

This error message is coming directly from the Plesk API and indicates that the client and domain template names are incorrect or missing. You can correct these in the product's Module Settings tab.

1013 - Error message: Customer with email 'johndoe@example.com' is not found in panel

There are two potential causes of this error message:

Incorrect product type

The product type is set incorrectly in WHMCS (for example, a reseller plan is configured as a shared hosting product in WHMCS).

To resolve this:

  1. Log in to WHMCS Admin Area.
  2. Navigate to Configuration () > System Settings > Products/Services or, prior to WHMCS 8.0, Setup > Products/Services > Products/Services.
  3. Set Product Type to Shared Hosting or Reseller Hosting to match the Plesk plan type.
  4. Click Save Changes.

Missing data from a table inside Plesk

If the error persists after following the Incorrect product type steps above, see this article.

1013 - Error message: Customer with external id 'xxxxxxxx' is not found in panel

Refer to the solution for 1013 - Error message: Customer with email 'johndoe@example.com' is not found in panel above.

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 IP addresses in the client or domain template's IP pool.

1014 - Parser error: Cannot parse the XML from the source specified

The Plesk API only supports the characters a-z and 0-9. If the client's profile contains accents or other characters, it will cause account creation to fail. Edit the client's profile to remove these characters.

1018 - Unable to create hosting. IP address does not exist in client's pool

This error indicates that there is an issue with the IP address pool configuration in Plesk. For example, there may not be any available IP addresses or the first IP address may be set as dedicated instead of shared.

1023 - Unable to accept the template: the following limitations are exceeded

This issue occurs when the resources provided by the serivce plan addon were already used by the subscription.

To resolve this:

  1. In the subscription for that domain name, remove the referenced addon in Plesk.
  2. In WHMCS, go to the product or service's Products/Services tab.
  3. Use the "Upgrade/Downgrade" option to create an upgrade order.

2306 - Domain adding was failed. Error: xxxxx template failed: Unable to apply limits

This error message comes direct from the Plesk API. It indicates that the template you are attempting to use exceeds your limits or has a feature your server doesn't support. Create an account with the template inside Plesk to retrieve further details.

Plesk login requires user authentication

This issue can happen when the user has a dynamic IP addresses or an unstable internet connection. Selecting Allow IP changes during one session in Plesk will resolve this.

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