Question

How do i use cpanel with my existing droplet?

i already have an account on Digital Ocean and i later find out that cpanel can work on Digital Ocean which will make it easier for me to manage.

Please how can i install cPanel on my existing droplet?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, @babsajy

You can manually install cPanel on a CentOS droplet, but you will need to sort out the license manually as the price for the droplet does not include the cPanel license and you’ll need to purchase it directly through cPanel.

https://store.cpanel.net/view/cpanel/license-options?type=VPS

We have an existing tutorial on how to install cPanel/WHM on CentOS 6. If your CentOS version is newer you can still follow the listed steps in the tutorial as the process is not different from installing it on CentOS 6, the same rules apply to CentOS 7. You can check the tutorial here: https://www.digitalocean.com/community/tutorials/how-to-install-cpanel-on-a-virtual-server-running-centos-6

To install cPanel & WHM on your server, run the following command:

  1. cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

You can also check the official cPanel docs:

https://docs.cpanel.net/installation-guide/install/

As per Bobby’s reply, it is recommended to install cPanel on a blank server to prevent any issues with the existing software on your current server.

Regards, Alex

Hi there,

The recommended way of installing cPanel is directly on a brand new server, otherwise, you risk breaking your existing one.

What I could suggest here is to create a new cPanel server using this 1-Click installation option here:

https://marketplace.digitalocean.com/apps/cpanel-whm

And then once the server is up and running you can transfer your existing website from the old server to the new one.

After that, once you’ve fully tested your site on the new cPanel server, you can change your DNS to point to the new server and shut down the old one.

That way you will minimize your downtime.

Hope that this helps. Best, Bobby