I have a cPanel server and I am planning to move 3-4 websites from cPanel server to another server which is using Ubuntu. On Ubuntu server, Apache, MySQL and other required services/software are configured. What is the easiest way to migrate the websites to Ubuntu server. This server has no control panel.
Since the server doesn’t have any control panel, you have only manual migration option. You can follow the below steps to migrate your websites:
- Add a website to the new server (create home directory, virtualhost entry etc.)
- Generate full cPanel backup from the old server and transfer entire .tar.gz file to the new server
- Extract .tar.gz file. This should contain your web contents as well as MySQL database.
- Move web contents to appropriate directory and restore mysql database.