How to migrate from old server (Hostgator VPS CentOS 5) to DigitalOcean CentOS 7?

First of all I have successfully created a new droplet and installed WHM & Cpanel with test domain name following DigitalOcean tutorials.

I have more than 10 websites with their domains,emails (Google) and databases, and I have dozens of Facebook Apps and web applications on the server Hostgator VPS CentsOS 5.

I want to migrate everything on my old server to DigitalOcean, already created backup of my server using Cpanel Backup Wizard the backup size is 11 GB.

Will the restore on my new server work without any issues? since I’am migrating from different OSs version.

I want to use the same Hostname and nameservers in my old server, should I just delete DNS records, delete hostname and nameservers to be able to use on the new server?

thank you.

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.

With both servers running cPanel/WHM it should be just that simple to get started. Import your backup and then start repointing DNS.

Once your files and configuration are in place on the new server you can test the configuration before you switch over DNS by creating a hosts file entry for the domain(s) you want to test. Just make sure you remove the entries once you’re done testing.

On Windows the hosts file can be found in C:\Windows\system32\drivers\etc and on Linux and Mac it can be found at /etc/hosts. In both cases it is simply a domain/subdomain name and IP address to map it to. This will override the results your computer receives from the DNS servers (this is why it’s important to remove when your done since otherwise if an issue occurs in the future you may not be able to see it and it could lead to a lot of unnecessary troubleshooting).