WordPress Hosting
In WHMCS 8.3 and later, you can easily offer automated WordPress® hosting for your clients. They will be able to purchase fully-configured WordPress installations with quick access from within the WHMCS Client Area. WHMCS leverages WP Toolkit to offer automated WordPress hosting.
Currently, this feature is only available for use with WHMCS's Plesk and cPanel server modules.
In WHMCS 8.8 and later, you can also sell WordPress hosting using dedicated WP Squared servers. For more information, see WP Squared Account Provisioning.
Contents
Setting Up WordPress Hosting Products
Event Handling
In WHMCS 8.4 and later, the Event Handling setting in the Other tab at Configuration () > System Settings > General Settings determines how events like WordPress installation run during provisioning.
To get started with WHMCS's WordPress automation, set up a WordPress hosting product:
- Go to Configuration () > System Settings > Products/Services.
- Click Create a New Product.
- Choose the desired product settings and module.
- Click Continue.
- Select the Module Settings tab.
- Make certain that you have selected the correct module and package settings.
- From the first Install WordPress menu, select one of the following options:
- Allow Admin Installation — Allow admins to install WordPress via the WHMCS Admin Area.
- Don't Allow Admin Installation — Do not allow admins to install WordPress via the WHMCS Admin Area.
- From the second Install WordPress menu, select one of the following options:
- Allow Client Installation — Allow users to install WordPress via the WHMCS Client Area.
- Don't Allow Client Installation — Do not allow users to install WordPress via the WHMCS Client Area.
- From the third Install WordPress menu, select one of the following options:
- Install Automatically — Automatically provision a WordPress installation while creating the hosting account.
- No Automatic Installations — Do not provision a WordPress installation while creating the hosting account.
- If you selected Install Automatically, the following additional settings will appear. For each setting, enter the necessary value or click Create Custom Field.
- Blog Title — The title to use for the provisioned WordPress installation.
- WordPress Path — The directory in which you want to install WordPress.
- Admin Password — The admin password. You cannot enter a value here to set a default password. You must click Create Custom Field and allow admins or clients to set the password or WHMCS can generate passwords for each purchase. For more information, see Admin Passwords below.When you click Create Custom Field, WHMCS will save your settings, the page will reload, and a new custom field will be available in the Custom Fields tab. This allows clients and admins to specify values for each item prior to provisioning. Do not rename custom fields that you create in this way.
- Configure the remaining product settings in this and other tabs as desired.
- Click Save Changes.
For more information about creating a product and the available product settings, see Products and Services.
Admin Passwords
Creating a custom field for the admin password allows you or the client to create an admin password during the ordering process. By default, if you do not set an admin password or allow the client to set one during purchase, WHMCS will automatically generate one.
The WordPress Welcome Email will contain the entered or generated password:
- If you or the client set the password, WHMCS will mask it in the email. If you set the password, you will need to communicate that password to the WordPress account owner (client) separately.
- If WHMCS generated the password, it will appear in plaintext in the email.
WordPress in the Admin Area
WHMCS admins can view a client's WordPress installations in the client's profile's Products/Services tab.
To manage an existing WordPress installation, select the desired WordPress installation from the menu and click Visit Homepage. A new tab will open and display the WordPress installation's main page.
To install a new WordPress installation, you can optionally choose to enter a blog title, path, and password. Then, click Install.
WordPress in the Client Area
After purchase and provisioning, your customers can go to the product details page in the WHMCS Client Area to access WP Toolkit.
To manage WordPress installations, users can select an existing installation from the menu. Clicking Go to Website directs the user to the WordPress installation's main page and clicking Admin directs the user to the WordPress installation's login page.
If you selected Allow Client Installation while configuring the product, clients can also add WordPress installations by entering a title, path, and password, and then clicking Install.