Installing WHM/Cpanel before site is fully moved to digitalocean.

This is a question that I asked buycpanel. My question was not answered very well. I am moving from a shared host to a VPS. I have copied/cloned our websitr site to the new VPS which resides on digitalocean.

Source site: New vps:

Both sites, above, are operational. The site has a shopping cart with a database. It would be much easier to use Cpanel and create the database with the Cpanel and have the new site on the VPS fully operational before changing the name servers. Bottom line, I want to install the Whm/Cpanel to new vps before changing the name servers at Godaddy. (ip address

Can this be done. Do I need to uninstall Apache before installing WHM/Cpanel Would my fully qualified hostname be my CentOS droplet name which includes the domain name of our current site. (The name server at godaddy still points to the old server. Is this OK?


Thanks. I will not bother to uninstall Apache. Do I need to remove php5.4 which I already installed. I read about installing on a clean system.

You can install WHM/cPanel and then preeview the website using the ~username value after the Ip address that you use to access WHM. Also, WHM removes Apache during the installation and installs it’s own.

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

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.

Hello, imagingsolution

cPanel is also available in our marketplace!

It is a third party application managed through our Marketplace. New installations of cPanel come with a 15 day free trial. For further use beyond that point a valid license will need to be purchased directly through cPanel.

Please refer to below link for further details:

Hope this helps! Regards, Alex

The best case scenario on moving from a cPanel shared host to running your own cPanel/WHM VPS, would be to pre-install cPanel/WHM and configure it to your liking. Then use the backup function with your current host to export the entire cPanel account (mail, web files, databases, logs), and then restore it within WHM on your new VPS. Once that is transferred, you’d need to update the DNS to point to the new VPS.

Happy coding,

Jon Schwenn Platform Support Specialist DigitalOcean