How to fix cPanel after restore a droplet from snapshot

Posted February 13, 2017 3k views
CentOSServer OptimizationDigitalOcean

Hi, im trying to move my current droplet into a new droplet with a new IP address, i currently have 2 droplets with 2 different projects, and i would like to create a “bigger” droplet where both can work together, the problem is that when i create the new droplet and restore the snapshot cPanel is no longer accesible and have a lot of issues, when i log into WHM, i change the IP for the new ip address, but seems to broke my site anyway. and i still dont know why.

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.

Submit an Answer
2 answers

Can you be more specific besides “broke my site”? Did you update the DNS?

  • Hi Woet, i ended up by increasing the size of 1 of my droplets, and migrate my other project to the bigger droplet, thanks for your answer, what was happening is that my site was that i wasn’t able to see my site, just blank page, and an internal 500 error.


Since cPanel/WHM is licensed directly to the public IP of your Droplet, creating a snapshot and then restoring to a new Droplet is most likely going to result in licensing errors or an environment that just does not work (as you’ve indicated) unless you end up with the exact same IP (which is possible, but not guaranteed – it’s also random, so you have no control over it).

That said, when it comes to migrating the best way to handle this is:

1). Setup a new Droplet and get a temporary license, if possible**.

2). Use the built-in migration utility to migrate from one server to another.

3). Modify your DNS accordingly and then test to make sure it’s working.

4). If the DNS is a go, take a snapshot of the old Droplet and destroy it.

** In regards to #1, a temporary license is only possible if that IP has never had a temporary license or a cPanel installation on it. If it has, you’d need to purchase a second license and then cancel your first after successful migration.

  • This is actually what i did recently in other server i had… and it worked much better… but cpanel version and mysql version should match between installations if possible