Page tree
Skip to end of metadata
Go to start of metadata

Overview

This document explains how to create a DigitalOcean® Droplet™ running the cPanel & WHM drive image.

Warning:

You must purchase a license for cPanel & WHM. New installations automatically receive a free 15-day trial license.


Create a cPanel & WHM Droplet



Navigate to the DigitalOcean website and log in.

Navigate to the DigitalOcean website.

Then, click Log In in the top right corner. The Project page will appear.





Go to Marketplace.

In the left sidebar, click Marketplace.

The Marketplace page will appear.





Choose the cPanel image.

The Marketplace page lists all available solutions available for DigitalOcean Droplets.

  1. Search for cPanel on Centos 7.6 and click Details The cPanel & WHM Droplet page will appear.
  2. Click Configure cPanel & WHM Droplet. The Project page will appear.




Choose a Droplet size.

The Choose a plan section lists the available Droplet sizes with the number of CPUs, disk size, bandwidth quota, and pricing.

Select a Droplet plan from the list.

Note:

Even though cPanel & WHM requires a minimum of 1GB of RAM and 20GB of disk space, we recommend at least 2GB of RAM and 40GB of dsk space.

For more information about hardware requirements, read our Installation Guide - System Requirements documentation.




Add backups and block storage.

The Add backups and Add block storage sections allow you to configure automatic backups and transfer spaces for your server.

Note:

We recommend that you perform these steps after you configure your cPanel & WHM server.




Choose a datacenter region.

The Choose a datacenter section allows you to select the region in which your server will reside.

Select the datacenter region that provides the fastest access for you and your customers.





Select additional options.

The Select additional section allows you to add the following options:

  • Private networking
  • IPv6
  • User data
  • Monitoring

Select the services that you need for your Droplet.





Add your SSH keys.

The Add your SSH keys section allows you to use SSH keys to securely access your server.

Important:

We strongly recommend that you use SSH keys to access your server.

If you do not use an SSH key, DigitalOcean will send you a root password via email, which poses a security risk.

To add an SSH key, perform the following steps:

  1. Click New SSH Key. The New SSH key window will appear.
  2. On your workstation, open a Terminal session.
  3. Run the cat ~/.ssh/id_rsa.pub command.

    Important:

    If the id_rsa.pub file does not exist, perform the following steps:

    1. Run the cd ~/.ssh/ command to change to your.ssh directory.
    2. Run the ssh-keygen command.
    3. Confirm id_rsa as the new file name.
    4. Enter a passphrase, and then confirm it.
    5. Run the cat ~/.ssh/id_rsa.pub command again.
  4. Copy the results and paste them into the SSH key content text box in the New SSH key window.
  5. Enter a name for the key in the Name text box.
  6. Click Add SSH Key.

A success message will appear.




Select final options.

The Finalize and create section allows you to duplicate your Droplet instance, set your hostname, add reference tags, and select a project.

Enter a fully-qualified domain name (FQDN) as the hostname for your server and click Create.

Important:

  • Do not select a hostname that begins with www or a number, or a hostname that ends with a hyphen (-).
  • You must use a fully-qualified domain name (FQDN) that uniquely identifies the server (for example, hostname.example.com or hostname.example.co.uk).
  • 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.

DigitalOcean will provision your server and its profile page will appear.

Your server's IP address appears in the ipv4 area of the profile page. You will use this address to log in to your server in the next step.

Note:

This IP address is also the IP address for which you will purchase a cPanel & WHM license.






Log in via SSH.

To log in to the server via SSH, run the following command, where IPADDRESS represents the server's IP address.

ssh root@IPADDRESS

The server will respond with a Message of the Day that contains helpful links and a URL where you can log in to cPanel & WHM.






Use the login URL

To log in to WHM, perform the following steps:

  1. In your preferred browser, navigate to the cPanel & WHM login URL. A new interface will appear.
  2. Agree to the software license. A new interface will appear.
  3. Enter the your contact information and nameserver information. The WHM Home interface will appear.

Warning:

You must purchase a license for cPanel & WHM. New installations automatically receive a free 15-day trial license.





Change the root user's password

To change the root user's password, perform the following steps:

  1. Navigate WHM's Change Root Password interface (WHM >> Home  >> Server Configuration >> Change Root Password).

  2. Enter and confirm the new password in the appropriate text boxes.

    Note:

    • The system evaluates the password that you enter on a scale of 100 points. 0 indicates a weak password, while 100 indicates a very secure password.
    • Some web hosts require a minimum password strength. A green password Strength meter indicates that the password is equal to or greater than the required password strength.
    • Click Password Generator to generate a strong password. For more information, read our Password & Security documentation.
  3. Click Change Password.

Note:

After you configure the root user's password, you can log in to WHM at the following URL, where IPADDRESS represents your server's IP addreess:

https://IPADDRESS:2087

For more information about WHM and how to configure your server, read our WebHost Manager documentation.





Configure WHM.

After you agree to our software license, you're ready to configure cPanel & WHM.

For more information, read our WebHost Manager documentation.

Warning:

You must purchase a license for cPanel & WHM. New installations automatically receive a free 15-day trial license.

Additional documentation