Launch a cPanel & WHM Instance on Alibaba® Cloud


Last modified: July 22, 2022

Overview

The following document provides the steps to build a production hosting environment on the Alibaba® Cloud.

Warning:
  • Due to networking requirements, you cannot run an IPv6-only cPanel & WHM server. You must have at least one IPv4 address.

  • We strongly recommend that you read the Getting Started with Alibaba Cloud website before you begin this process.

  • You must obtain an elastic IP when you create your server.

  • We strongly recommend that you host interconnected servers at Alibaba within the same region.

  • You cannot change your hostname within cPanel & WHM after you launch an instance. Make certain that you configure it before you launch. An incorrect hostname may cause license errors.

Note:
  • cPanel & WHM requires a valid license. If this is a new installation, you can activate a free 15-day trial license.

  • In order to activate a new license, you must have a cPanel Store account with a verified email address.

Download our preconfigured security rules file

Download the cPanel Alibaba Security Rules file. You will use this file when configuring your security group.

Note:
This set of security rules provides open access to and from the server. You can refine your security rules later.

Log in to Alibaba’s Marketplace

Perform the following steps to log in to Alibaba’s Marketplace site:

  1. Log in to the Alibaba Cloud website.

  2. Navigate to the Alibaba Cloud Marketplace website.

  3. Click Login.

  4. Enter your email address and password, and click Sign In. The Marketplace interface will appear.

Select the cPanel & WHM product

To select the cPanel & WHM product from the Alibaba Marketplace, perform the following steps:

  1. Search for cPanel & WHM. A list will appear.

  2. Click the cPanel & WHM listing. A product listing interface will appear.

  3. Click Choose Your Plan. The ECS Custom Launch interface will appear.

Configure the instance

To configure the cPanel & WHM instance, perform the following steps:

  1. In the Billing Method section, select Pay-As-You-Go.

  2. In the Region section, select a nearby region.

  3. Select a Zone within the region. Do not select Random.

  4. In the Instance Type section, select your desired instance type.

  5. Confirm that cPanel & WHM appears in the Image text box.

  6. In the Storage section, select at least 20GB for the System Disk size.

  7. The Data Disk section is optional.

  8. Click Next, and the Networking interface will appear.

Configure networking options

To configure the networking options for your instance, perform the following steps:

Configure virtual private cloud (VPC)

If you’ve already set up VPCs on Alibaba, the interface will display your available VPCs. Select the desired VPC.

  1. If this is your first instance, we recommend that you click Go to Console and Create. A new VPCs interface appears.

  2. Click Create VPC.

  3. In the VPC section, enter a label for the VPC in the Name text box.

  4. Do not change the information in the IPv4 CIDR Block section.

  5. In the VSwitch section, enter a label for the VSwitch in the Name text box.

  6. Select the zone that you selected earlier within the region. Ensure that a green checkmark appears next to the ECS label.

  7. Click OK. A success message will appear, and click the Complete button.

  8. Close the browser tab for the VPCs interface.

  9. Click the Refresh button and select the newly-created VPC. The interface will automatically populate the Switch text box.

  10. Under Network Billing Method, select the Assign Public IP Address checkbox.

  11. Set the bandwidth slider to the maximum throughput that you expect to send or receive from your instance.

Configure a security group

  1. In the Security Group section, click Create Security Group. The Security Group interface will appear in a new browser tab.

    Note:

    This procedure follows the steps used in the new Security Group interface. You can use the old Security Group interface by clicking Old Version.

  2. In the Security Group Name textbox, enter a name for the security group.

  3. In the Network menu, select the VPC that you created earlier. It will automatically populate the text box with the ID of the VPC.

  4. In the Security Group menu, select Basic or Advanced.

  5. In the Description text box, enter a description of this security group.

  6. Click OK. A confirmation message will appear.

  7. Click Add Rules next to the security group you just created.

  8. Click Import Security Group Rule. The Import Security Group Rule interface will appear.

  9. Click Select a file. Select the cPanel Alibaba Security Rules file you downloaded previously.

    Remember:
    This set of security rules provides open access to and from the server. You can refine your security rules later.

  10. Click Start. The Security Group interface will appear.

  11. Close the browser tab.

  12. In the Security Group section, click Reselect Security Group.

  13. Select the security group that you created.

  14. Click Select.

  15. Click Next. A new interface will appear.

Select system configuration

Perform the following steps to configure the system on the instance:

  1. Under Login Credentials, select Password.

  2. Enter a secure password in the Login Password and Confirm Password text boxes.

  3. Enter a name for the instance. This is not the hostname of the instance. It is the label that will appear on the Console.

  4. Enter a Description of the instance.

  5. In the Host field, enter a fully-qualified domain name (FQDN) as the hostname of your server.

    Important:
    • If your server does not use a resolvable fully-qualified domain name as the hostname, it will automatically receive one from cPanel, L.L.C. For more information, read our Automatically-Issued Hostnames documentation.

    • Do not select a hostname that begins with www or a number, or a hostname that ends with a hyphen (-).

    • Do not choose a hostname that a cPanel account on your server will use.

    • Do not choose a potential service subdomain as a hostname (for example, cpanel.example.com or whm.example.com).

    • Do not select a socially-unacceptable hostname. The hostname will appear in mail headers.

    • Only use lowercase, Latin-script letters in hostnames.

  6. Skip the remaining steps and click Preview Order. The Order Summary interface will appear.

  7. In the Terms of Service section, select the checkbox for ECS Service Level Agreement.

  8. Click Create Instance. A confirmation message will appear.

  9. Click Console. The Instances interface will appear, and it will display your newly-created instance.

Note:
New instances may require several minutes to initialize.

Create Elastic IP Address (EIP)

In order to access your server, you must configure an EIP for the server.

To configure an EIP, perform the following steps:

  1. Click More.

  2. Click Network and Security Group.

  3. Click Convert to EIP.

  4. Read the warning box.

  5. Click OK.

The interface will refresh and display a public EIP for the server.

Log in to WHM

To log in to WHM, perform the following steps:

  1. In your preferred browser, navigate to the following URL where IP ADDRESS represents the server’s IP address:

    https://IP ADDRESS:2087

  2. Agree to the software license. A new interface will appear.

    • If you do not have a valid license, you will be directed to purchase a license.
    • If this is a new installation, you can activate a free 15-day trial license.
  3. Enter the your contact information and nameserver information. The WHM Home interface will appear.

Configure WHM

For more information about how to configure cPanel & WHM, read our WebHost Manager documentation.

For more information on how to quickly build a website on a newly-installed cPanel & WHM server, read our From WHM to Website documentation.

Remember:
cPanel & WHM requires a valid license. If this is a new installation, you can activate a free 15-day trial license.

Additional Documentation