cPanel is basically a control panel that is available in Linux based hosting accounts and the servers. It easily lets you manage different parts and aspects of your account which includes the file, emails hosted on your account or server and applications as well. The server customers use cPanel along with WHM or WebHost Manager.
Now talking about CWP (CentOS Web Panel) there are a few things that you should be familiar with. Firstly it has recently begun to rank as one of the most popular control panel that is absolutely free. It is an alternative to the zPanel project since it got shut down. The user interface provided by the panel s sleek and stunning, providing the users of the panel ease in their work and joy in managing their websites with comfort and certainty. We here at GeekEasier like the CWP as an alternative to our first favorite, VestaCP. The favorite feature that we here at GeekEasier saw in CWP was its ability to perform cPanel backup restoration. This ability of its makes it a whole lot easier to restore the website to its full backup is created by the very famous cPanelCP.
MakeSureHow brings you the complete guide with some related pictures that will step by step tell you how to make a website migrate from cPanel to CWP using full cPanel backup. There is also no need to download the backup to your local personal computer. We will be using wget and we at GeekEasier try to write the guide easy to understand so please do not hesitate to leave comments below if you got confused somewhere. Let us start..
- A VPS/Server that is running CentOS 6.5 or 6.5 either 64 or 32 bit. But if your VPS has only 512MB ram then we recommend you go with 32 bit.
- Some basic knowledge about the common unix command to SSH to your server.
- SSH clients like Putto or Terminal and the ability to use it.
- A little bit of your spare time.
This guide uses a 512 MB clud server which is running CentOS 6.6 32bit with CWP v0.9.8.6. What we will do is we’ll move our friend’s website from cPanel to CWP so make sure that you change the domain name replacing it with yours.
- Login to the server as root and follow this guide.
- Perform some basic CWP setup tasks.
- Until you move your site, do not change your domain’s NS.
BACKUP CPANEL: Step 1 - Login to your cPanel account using the username and password that was provided to you by your webhosting provider.
Step 2 – Once you log in to cPanel click on the Backup Wizard icon and then click the Backup button and after that click one the Full Backup button. Follow the illustrations that are given below:
Step 3 – Now you need to make sure that you choose “Home Directory” as your Backup Destination. If your hosting account has many files consuming a large amount of disk space, you better send an email address so that a notification is sent to your email address when the backup process completes. After doing this process, click the Generate Backup button.
Step 5 – if you open the file manager, you’ll see a file that you just created ending with .tar.gz. That is our newly created backup file. Right click on the file and choose Move. Type public_html as the desired destination.
Step 6 – Go to the public_html directory and find the backup file. Once found, right click on it and change the permission to 644.
Step 7 – Now you have to rename the file. Just right click on it and choose Rename. Change its name with the cpmove-prefix followed with the account name.
THE MIGRATION: Step 1 – You need to go back and login to the server, VPS as root and then go to /home directory.
Step 2 – All you need now is to transfer the full cPanel backup that you made just now to your VPS using the simple wget command.
You must not forget to replace domain.tld and cpmover-user.tar.gz accordingly. The screen shot for this purpose is given above.
RESTORING TO CWP Step 1 - You can now breathe that half sigh of relief as you have the full cPanel backup file with you located in your /home directory. CWP needs the file to be place in that location specifically.
All you need to do now is just open up the browser that you like using the most and just log in to the CWP control panel as root.
Step 2 – Once you are logged in, you must click on the User Accounts menu which is located at the left and from there you must choose cPanel Migration sub menu.
Step 3 – In the next page you need to type in the username part of the file and then press the Search button.
Step 4 – After you have pressed the search button you will be shown with something like this on your screen. You need to move the cursor to the restore button and press down on it.
Step 5 – You will then see a new page that will ask you to create a new account. You need to fill in all the required fields accordingly. You can see the example below and remember to click on the Create button after you have finished filling up the fields.
Step 6 – That’s all that you needed to do. You will now see a page that will be similar to the one shown below telling you that the restore process has been completed successfully.
The migration process is almost complete but not fully completed. The last and most important thing that you need to do now is to change the NS record of your domain. You need to go to your domain registrar and change the current Name Serves to the new ones that belong to your server. You need to be patient and wait till all the DNS travels and then give your newly moved websites a test which will confirm that all the functions of your website are working as they should and your website is up and running. Enjoy your hard work..