Shoaib Khan Khattak
on
July 18, 2020

How to Transfer a Website from cPanel to CyberPanel Manually

Embrace Love: Share Us on Social Media

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

  1. Download Files from cPanel
  2. Export Database from cPanel
  3. Create a website in CyberPanel
  4. Upload Files on CyberPanel
  5. Create a Database in CyberPanel
  6. Change DNS
  7. 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

cPanel LogIn

1.2 Compress Files in cPanel:

After logging in, go to the cPanel File Manager option in the cPanel dashboard.

File Manager cPanel

Open the file manager, then select the public_html folder and open it.

Public html floder

Select and compress all the files present in Public_html folder.

compressed files in public html

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.

download compressed 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.

PhpAdmin on cPanel

Once you click on the PHPMyAdmin option. A dashboard will open from where you can select and export your database.

phpmyadmin dashboard

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.

exporting database

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.

Cyber Panel Login

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.

Create website in cyberpanel

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.

Manage Websites

4.2 Upload and Extract Content:

Once you get the website Management Dashboard.

Check the file manager option on the website manager dashboard.

file manager

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.

Transfer a website from cPanel to CyberPanel

6. Change DNS

If you are using the cPanel DNS then follow this tutorial link below

https://blog.cyberpanel.net/2018/02/24/how-to-register-private-name-servers-on-namecheap-or-godaddy-with-cyberpanel/?fbclid=IwAR3BlGGAzT8IFIGH_QlrU_acVFEi-EuFoRscSMZUNA232gZElq6s3AXZFKU

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:

  1. Compressed the data present in the Public HTML folder of cPanel.
  2. Get the address of that compressed data on cPanel.
  3. 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.

  1.  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] user@x.x.x.x:SOURCE DESTINATION

Note: Use these alternative if you have large amount of data to transfer.

Read More: HOW TO CHANGE TIMEZONE ON LINUX SERVER

Follow US on Facebook / Twitter  for update.

6 comments

  • Wasted Dolphine

    Anyway to import emails accounts from cpanel to cyberpanel manually?

  • Thank you so much for this post. It will guide me as I migrate to my new server running Cybercpanel. Cheers.

  • I had problems while uploading the MySQL databases. The system said that “the size of the file exceeded the limits imposed by PHP”

    I went to change /etc/php/cli/7.4/php.ini
    put a max_upload_file to 8M
    reiniciated the EC2 instance

    But got the same error.

    don’t know what to do next.

    Please help

  • very usefull, i m trying now with cyberpanel. from my old cpanel account

Leave your comment

Stay in the loop!

If you found this article helpful, join our mailing list to receive CyberHosting updates and latest news from the LiteSpeed community.

  • Only useful information.
  • Relevent to hosting and LiteSpeed.
  • No spam. Ever.

By joining our mailing list you agree to receive periodic communications from CyberHosting. You can unsubscribe from within our emails any time.