Deploying cPanel Using Ubuntu 20.04 on CloudRaya – Part 1

How can we help?
< All Topics

Deploying cPanel Using Ubuntu 20.04 on CloudRaya – Part 1

How to Deploy cPanel using Ubuntu 20.04 ? In the present era, there is a need for an application that makes it easy for users, website developers, or system administrators to manage website hosting.

Managing a hosting server using text can be very tedious for non-technical individuals. There are many hosting panels available today, and one of the most commonly used and popular hosting panels is cPanel.

cPanel which stands for Control Panel, was first created in 1996 and has a user-friendly interface for managing hosting servers. In general, cPanel features are comprehensive, including Domain Management, database, email, and file manager. All these features can be accessed using a web browser.

Deploy cPanel Using Ubuntu 20.04

In this article, we will deploy cPanel on Ubuntu 20.04, while Ubuntu 22.04 is still in the development stage as of the time of writing this article.

Create Ubuntu VM and cPanel on CloudRaya

At CloudRaya, we have provided an image that includes cPanel, making it easy for users to deploy VMs. Please click “Add VM,” and enter the Location and Hostname as desired. In the “Image” option, look for the “Ubuntu 20.04 with cPanel” image, while the “SSH Key” option can use the “Not Using SSH key.”

On the second screen, please select the package that suits your needs. For this article, we will use the minimum requirement for cPanel, which is 1 CPU and 2 GB Memory. After that, please press the Next button.

On the third screen, we will configure the network for the VM to be created. The VM’s network will use VPC. If you want to learn more about VPC, you can check here.

On the last screen, details of the information to be created will be displayed. Ensure that the VM to be created meets your requirements. If it’s correct, please proceed with the process of deploying cPanel on Ubuntu.

After a while, the process of creating the VM is complete, and the panel screen will display detailed information about the created VM.


First time accessing cPanel/WHM

To access it for the first time, please enter https://IP_ADDRESS:2087 or in this tutorial using

When accessing this address for the first time, an error will be displayed. This error can be ignored, and please proceed to access the cPanel address. Enter the password found on the panel into WHM.

After logged in, click on “Agree to All”

On the next screen, a confirmation to purchase a cPanel license will appear. If you already have a cPanel license, you can use it directly. If you don’t have a cPanel license, don’t worry because you can purchase the license through the CloudRaya panel.

Order cPanel License

The CloudRaya Panel makes it easy for us to purchase a cPanel license. Further explanations about ordering a license or service can be found at this address.

Please click “Service” on the left tab, then click “Add License.”

Later, a drop-down list will appear; please select “Software License.”

Please fill out the data as follows::
License: cPanel Admin Up to 5 Accounts
Location: Jakarta
Public IP:  (The IP Address is from the previously created VM)

Check the “Pay license using credit” box to purchase the license using credits and “Auto Renew using credit” to automatically renew the license monthly using credits.

After pressing the “Add License” button, the license has been successfully obtained with the following view:

After pressing the “Add License” button, the license has been successfully obtained with the following view:

sudo /usr/local/cpanel/cpkeyclt

After the cPanel license update process is successful, please log back into cPanel. Enter the following information according to your needs.

After clicking the “Finish” button, cPanel has been successfully set up and is ready to use, as shown in the image below.

If you encounter difficulties in the process of creating a VM using Ubuntu and cPanel, please contact our support, which is always available 24/7.

For the next steps, we will continue in the second article so that the cPanel we created can be used properly.

Find other tutorial articles about CloudRaya on our knowledge base page or stream video tutorials on the CloudRaya YouTube channel. If you need insights and technology updates, we also provide them on the CloudRaya blog.

Table of Contents

Ready, Set, Cloud

Ready, Set, Cloud