CyberPanel is a next-generation hosting control panel powered by OpenLiteSpeed/LiteSpeed. Built for speed, security, and reliability, CyberPanel automatically comes with builtin support for DNS, FTP, Databases, Email, File Manager, automatic SSL, and many other features, all this is free.

Migrating a WordPress website from one hosting server to another is similar to the process of moving furniture from one house to another.

First you need to protect your furniture in a way that will keep it safe from losing tiny things like nails and screws. Then, you need to choose a mode of transportation that won’t scratch your furniture. Finally, you must load the furniture into the new house and arrange it in a pleasing way.

Similarly, for your WordPress website, you need to protect it with a thorough backup, safely copy it from one server to the other, and finally load it into the new control panel and configure it.

In the following guide, we will perform one WordPress website migration to CyberPanel.
CyberPanel Documentation:

Obtaining data for migration from hPanel

hPanel can offer two ways of obtaining website data.

a) Downloading website data via Hostinger backup section

Login to the hPanel. On the Hosting tab, navigate to Files -> Backup. You’ll see a list of recent backups that are sorted by type and date. Look for your latest MySQL and website backups and hit Prepare Backup.

If there’s none, scroll down to find the Generate a new backup button. Once a backup is generated, choose Prepare Backup. After a few seconds, it will turn into a Download button. Leave it that way since you only need to get the Download link later on.

b) Downloading website data via FTP & phpMyAdmin

We’re going to use FileZilla (FTP client) for this example. Once you’ve downloaded and installed it on your computer, follow the steps below:

Access FTP Accounts in your hPanel to find the credentials you need for the FileZilla’s configuration. If you forgot or had not set the password, click Change account password to do just that.

Go to File -> Site Manager -> New Site. Fill the hostname, username, and password fields using the information we collected earlier but leave other settings as they are. Once done, press Connect.

Once a connection is successfully established, you can now right-click on your site public_html folder to Download it.

As you’re waiting for your WordPress files to download, let’s proceed to back up your database via phpMyAdmin. Besides, FileZilla notifies you once the file transfer is done, so worry not!

Backing up your WordPress’ database from phpMyAdmin can be performed in no time by following the steps below:

Head over to the Databases section in your hPanel and find phpMyAdmin. Under the List of Current Databases, press Enter phpMyAdmin on the database that belongs to your website.

Click on Export button and export database in SQL format.

And that’s it. You now have a full WordPress backup you can restore whenever you want.

Importing website data to CyberPanel

As we mentioned earlier, we need to choose the transportation mode that will take the furniture (Files and Database) from our old house (Server) to our new one.

File Transfer There are a few ways that our data can travel:

Using wget from SSH at the destination server. Using the SCP command from SSH at the sending server. Using FTP to download files to the PC then upload them to the destination server. We will be using wget from SSH at the destination server to move the files!

Before we start migration we need to prepare our new house at the destination CyberPanel server.

Create a New Website

Login to your CyberPanel VPS. You can find login details in your Hostinger Servers VPS section.

Upon logging into CyberPanel, navigate to Websites section and click on Create Website button.
Enter the Website Details: Select Package, Select Owner, enter Domain Name, enter Email, and Select PHP. DON’T click SSL at the moment as your DNS is not yet configured to your CyberPanel destination. We will do that later.

Transfer Files

On CyberPanel server, log in to SSH. Go to your newly created website path using command:

cd /home/yourwebsitename/public_html

Using wget command download the file backup files:


If you have chosen hPanel backup as website data download option, you need to right click on Download button and copy the link into wget command (the link would be as example )

The file will now be downloaded to your server. Once the transfer is finished, use the following command to extract the files into your destination directory (CyberPanel path to website accounts is /home/yourwebsite/public_html/.):

tar xvf your_tar_file.tar

If you logged in to SSH as root or super user you will need to change file permissions. CyberPanel provides an easy way to do that via the file manager:

Open FileManager for the new CyberPanel site, navigate to public_html, and you will find the folder containing all of your exatracted files. Click on the folder. You will find it empty, as you did everything via command line (root user). Click on Fix permissions from top right corner on File manager, and the files will appear.

Click Select All, and move all of the files and folders to public_html directly, so they are accessible from root domain and not sub-folder.

Click Select All, and move all of the files and folders to public_html directly, so they are accessible from root domain and not sub-folder.

Create a new Database

First we need to create a database in CyberPanel. To do this, click on Database on the left panel, then Create.

Select the website you just created, choose a Database Name, a User Name and a Password.

Note: Remember the full Database Name, User Name and Password. You will need them later.

Click the Create Database button.

Import database

Now to import the database we extracted earlier, click again on Database in the left sidebar of CyberPanel, and select phpMyAdmin. This will take you to SQL phpMyAdmin, where you need to enter your Database username and password that you just created above.

Once you enter phpMyAdmin, click on the Import button and import the database (.sql file) that you exported from the old server. Once importing has completed, you will see:

If you got any errors , then its probably due to a large file size. You may have to use import from SSH directly.

Now you have files and database migrated and everything seems ready.

The last step is to define the new database name and password into wp-config.php.

Go to file manager (or FTP or SSH), public_html, right click on wp-config.php, edit, and type the new parameters in place: DB_NAME, DB_USER, DB_PASSWORD

Save and you are almost done!

Pointing domain name to CyberPanel VPS

The easiest way is pointing your domain name via A record (Method 1).
Alternatively, you may point your domain name to VPS using private nameservers (Method 2). You can find detailed information here:


Achieving 10/10 Email score on CyberPanel

In order to achieve the perfect score and deliver succesfully to all mailboxes, following DNS entries must be added:


If your VPS IP address is , then the record would look like:

v=spf1 a mx ip4: ~all


Your DKIM key can be obtained from CyberPanel >> Email >> DKIM manager section.

You need to create a new TXT record with name with the value from DKIM manager:

the final result should look similar in your DNS zone:


Navigate to Hostinger panel >> Servers tab and scroll till Reverse IP section. Enter your main domain in Reserve IP section

Note: Domain name must be pointed to CyberPanel VPS before activating rDNS.

Did this answer your question?