×
Community Blog How to Install Web Host Manager (WHM) on Alibaba Cloud

How to Install Web Host Manager (WHM) on Alibaba Cloud

This guide provides step-by-step instructions on how to install WHM (Web Host Manager) on an Alibaba Cloud Elastic Compute Service (ECS) instance.

To install WHM (Web Host Manager) on Alibaba Cloud, you can follow these step-by-step instructions:

1.  Launch an Alibaba Cloud Elastic Compute Service (ECS) instance:

  • Log in to the Alibaba Cloud Console.
  • Go to the ECS section.
  • Click on "Create Instance" and configure your ECS instance according to your requirements. Choose an appropriate operating system, such as CentOS or Ubuntu.

2.  Connect to your ECS instance:

  • Once the instance is created, note down the public IP address or the hostname of your ECS instance.
  • Connect to your ECS instance using SSH or any other preferred method.

3.  Update the system:

  • Run the following commands to update the system packages:
sudo apt update  (for Ubuntu)
sudo yum update  (for CentOS)

4.  Set up a fully qualified domain name (FQDN) and hostname:

  • Assign a valid FQDN to your Alibaba Cloud instance. This can be done either by registering a domain or by using a subdomain.
  • Set the hostname of your instance using the following command:
sudo hostnamectl set-hostname your_hostname
  • Replace your_hostname with the desired hostname.

5.  Install cPanel and WHM:

  • Run the following command to download the cPanel and WHM installation script:
curl -o latest -L https://securedownloads.cpanel.net/latest
  • Set the execution permissions for the installation script:
chmod +x latest
  • Run the installation script:
sudo ./latest

6.  Follow the installation wizard:

  • The installation script will guide you through the WHM installation process.
  • You will be prompted to provide your license information, agree to the terms and conditions, and configure various settings.
  • Follow the on-screen instructions to complete the installation.

7.  Access WHM:

  • Once the installation is complete, you can access the WHM interface by visiting https://your_server_ip:2087 in your web browser.
  • Replace your_server_ip with the public IP address or the hostname of your Alibaba Cloud instance.

8.  Set up WHM:

  • Follow the initial setup wizard in WHM to configure your server settings, create hosting packages, and set up other necessary configurations.

9.  Configure firewall rules (if applicable):

  • If you have a firewall enabled on your Alibaba Cloud instance, make sure to configure the necessary rules to allow incoming and outgoing traffic on the WHM ports. WHM typically uses port 2087 for secure web access.

That's it! WHM is now installed on your Alibaba Cloud instance. You can proceed with further configuration and management of your web hosting environment using the WHM interface.

0 1 0
Share on

Dikky Ryan Pratama

63 posts | 14 followers

You may also like

Comments

Dikky Ryan Pratama

63 posts | 14 followers

Related Products