cPanel is one of the most popular web hosting control panels, which helps to manage websites. CyberPanel is an emerging web hosting control panel also used to manage websites. In this article, we will discuss how you can transfer a website from cPanel to CyberPanel manually. This is very important to know if you want to move your site from cPanel to CyberPanel.
CyberPanel also has a one-click importer. Use our guide if for some reason one-click importer fails to import your site (which happens rarely in case your database is very large)
Table of Contents
- Download Files from cPanel
- Export Database from cPanel
- Create a website in CyberPanel
- Upload Files on CyberPanel
- Create a Database in CyberPanel
- Change DNS
- Alternative Transfer Method
Transfer a website from cPanel to CyberPanel
1. Download Files from cPanel:
Here are some steps to download files from cPanel:
1.1 Login to cPanel:
The first step in moving/tranfering a site from cPanel to CyberPanel is to log in to your cPanel account using your credentials. Login to cPanel is required for next steps.
Go to your site cPanel address
1.2 Compress Files in cPanel:
After logging in, go to the cPanel File Manager option in the cPanel dashboard.
Open the file manager, then select the public_html folder and open it.
Select and compress all the files present in Public_html folder.
1.3 Download the compressed file
A compressed file is present in the public_html once compression is completed. Select this file, and download it on your local computer. If the file is large and you have a slow internet connection we’ve mentioned a few ways in step 7 as to how you can easily transfer this file without locally downloading the file.
2. Export Database from cPanel:
A database is the most important part of any site. Each site relies on its database for internal links, responses, and other features.
To import a Database from cPanel follow these steps:
Log in to the system using the credentials described in the last step.
2.1 Open PHPMyAdmin:
Check PHPMyadmin Option in the cPanel Dashboard and open it.
Once you click on the PHPMyAdmin option. A dashboard will open from where you can select and export your database.
2.2 Export Data Base:
Once you are in the PHPMyAdmin Dashboard, select the database related to your website and click on the Export option.
Note: Select the file type zip or MySQL when you want to export.
The exported database will save a compressed database file to your local computer.
3. Create a Website on CyberPanel:
Here are the steps to create a website on CyberPanel:
3.1 Login to CyberPanel:
Like cPanel, you must first access your CyberPanel using your credentials to log in. To do this, look at the URL of your CyberPanel. It displays a screen for logging in. Provide the required username and password and access the dashboard.
3.2 Create a Website:
After logging in, click on the Website -> Create option on the left menu or on the dashboard of CyberPanel. Then provide the information to create the site. Provide the exact URL of the site when you are creating the site.
4. Upload content on CyberPanel
Once you have completed the website creation process. Now it’s time to upload the content that is exported from the cPanel. Basically the compressed file you got from the File manager -> Public_html in cPanel.
4.1 Mange Website:
Go to the Website -> List Websites. Here you can see a website that you have already created. On the right side of this website, you can see a manage button. Click on it to open the Website Management Dashboard.
4.2 Upload and Extract Content:
Once you get the website Management Dashboard.
Check the file manager option on the website manager dashboard.
Open the file manager and here you will find the public HTML folder. Open this folder.
Upload that compressed file download from cPanel to your computer.
Once the file is uploaded, extract the file to retrieve content from it.
5. Create a Database in CyberPanel:
After uploading content. It is important to create a database that solves content issues.
5.1 Create Your data base:
Click The Database button on Dashboard or in the left Menu:
In the next Step Click On Create Database option:
Select the domain you added in last Step.
Provide the required information and click on Create Database button.
5.2 Login to PHPMyadmin:
Get access to PHPmyadmin goto Databases -> phpMyadmin in CyberPanel Dashboard.
Provide the credentials that are required to access.
5.3 Import DataBase to CyberPanel:
After creating the database. Go to Import Option, then select the file that is exported database file from cPanel. Click the Go button at the bottom right of the page.
6. Change DNS
If you are using the cPanel DNS then follow this tutorial link below
If you are using any other DNS provider, then go to the DNS provider platform and change the IP of cPanel with the IP address of CyberPanel. In the DNS section, there is a record section replaces old IP with new IP. Replace the both with @ and without.
7. Alternative Transfer Method
In the case of large data on cPanel, you can use an alternative method of migrating websites from cPanel to CyberPanel.
7.1 Transfer Using wget:
- Compressed the data present in the Public HTML folder of cPanel.
- Get the address of that compressed data on cPanel.
- And Download or get the data on the CyberPanel server by using wget Command.
$ wget <cpanle-file-address>
7.2 Transfer Using rsync:
By using rsync command you can copy and synchronize your data remotely and locally. You can copy or synchronize data from server to server.
- Install rsync on your Linux server by using following commands
$ yum install rsync (On Red Hat based systems) like: Centos $ apt-get install rsync (On Debian based systems) like: Ubuntu
7.3 Basic Syntax
$ rsync options source destination
7.4 Copy/Sync Files and Directory to or From a Server
$ rsync [-options] firstname.lastname@example.org:SOURCE DESTINATION
Note: Use these alternative if you have large amount of data to transfer.
Read More: HOW TO CHANGE TIMEZONE ON LINUX SERVER