Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

SWPanel migration tool

In the following manual we are going to learn how to perform a service migration from another Hosting provider to SWHosting with our native migration tool.

In the new version of SWPanel 2021, we have added a new function to make it easier for our clients to transfer web content from an external provider to SWPanel, the "Tool to migrate websites".

Antes que nada, debes acceder al Dashboard principal de SWPanel. Para ello, pulsa sobre el logotipo de SWPanel, o logo personalizado, situado en la parte superior izquierda de la pantalla:

enter image description here

From the main SWPanel Dashboard, open the drop-down menu "Tools" -> "Tool to migrate Webs" and click on "Migrate a Web now":

enter image description here

You will access the migration assistant:

enter image description here

At this time, you can select if you want to migrate the data to a new Hosting service or an existing Hosting service. In this manual, we are going to migrate to an existing Hosting service. To see how to create a Hosting service, we recommend you visit our manuals on how to create a Hosting service and how to create a Web Hosting in my Cloud.

Migrate the Web to an existing Hosting service

Select "Migrate the Web to an existing Hosting service":

enter image description here

A drop-down will open in which you must select which service you want to migrate to.

⚠️ For the migration to be carried out successfully, the Hosting service must be empty. That is, There can be NO CMD (WordPress, Prestashop or Moodle) installed, there can be no Database or created FTP accounts. Nor can there be email accounts. ⚠️

In this case, select the previously created service, "migra01.swmanuales.com":

enter image description here

Synchronize web content

Enter the necessary data to migrate the content of the web. If there is no website to migrate, ou must uncheck the "Check" next to the name "Synchronize Web content":

enter image description here

The data you will need for this step are:

Origin server IP The IP that you have assigned for your website in the current provider. You can check the IP of your website from the administration panel that you currently have with your service provider.

Web path In which directory or FTP folder your website is located. Depending on the assigned root folder and the management panel you use in your current provider, the Path will be different.

⚠️ Keep in mind that depending on where your FTP is pointing, the path you need to sync may vary. That is, if your FTP points directly to your root directory, you must specify the path where the web content is located (example: cpanel -> "public_html/", plesk -> "httpdocs/", etc...). However, in case your FTP already points to the web directory, you just have to enter the path "/". ⚠️

Copy content from the web by FTP/SSH You can carry out the migration via FTP or via SSH connection directly.

To migrate via FTP, you need:

  • FTP account user
  • FTP account password

Press the "Check" corresponding to "Create FTP account on destination server". Although we recommend that there is no FTP account already created in the Hosting service, you can click on "Overwrite FTP account on the destination server, if it already exists".

To migrate via SSH, you need:

  • SSH user
  • Password for access by SSH
  • SSH connection port

Install an SSL certificate for the migrated web You can install a self-signed certificate for your website or you can import a certificate that you have installed in your current service provider, if you have one. In order to import a certificate, you need to copy its CRT, CA and KEY keys.

In this case, we have chosen in the configuration to carry out the migration by FTP and we have decided to import the certificate from another hosting provider. It would be as follows:

enter image description here

enter image description here

Synchronize Databases

Enter the necessary data to migrate the database. If you don't have a database to migrate, you must uncheck the "Check" next to the name "Synchronize Databases":

enter image description here

The data you need for this step are:

IP of the Origin Database Server The IP you have assigned for your database server at the current provider. You can check the IP from the administration panel that you currently have with your service provider.

Connection data and access to the databases to be migrated, you need:

  • Database Name
  • Database User
  • BD user password

It is very important that this data is exactly the same as you have in your source database.

⚠️ You must bear in mind that remote access to synchronize the database from an external connection must be enabled, therefore, make sure to open port 3306 in advance. In case it is not possible to open the port, this part of the migration must unchecked and performed via import (you can use PHPMyAdmin, or HeidiSQL, etc...).

To make sure your port is enabled, you can check the following manuals:

  • How to open port 3306 in cPanel
  • How to open port 3306 in Plesk

In our configuration example, it would look like the following:

enter image description here

Synchronize email accounts

Enter the necessary data to migrate the email accounts. If you do not have email accounts to migrate, you must uncheck the "Check" next to the name "Synchronize email accounts":

enter image description here

The data you need for this step are:

IP of the Origin Email Server The IP you have assigned for the email sending server at the current provider. You can check the IP from the administration panel that you currently have with your service provider.

Number of email accounts to migrate Proceed to indicate how many email accounts you want to migrate. In our case, it will be two email accounts:

enter image description here

As soon as we select the number of email accounts, the tool will ask you to specify the specific data for each existing email account:

  • Email account. You just have to specify the name of the account, without having to add "@domain", since it writes automatically.
  • Email or login user. This field is automatically filled in. You just have to check that it is correct.
  • Email account password. The access password.

In our configuration case, it would be as follows:

enter image description here

If you wish, you can indicate an email account so that you will be notified of the completion of the migration:

enter image description here

Summary and formalization

Finally, check again that all the data are correct, click on "Check" to accept the contract and the clauses and conditions and click on "Accept and create".

The migration has no cost, so the "Total service cost" will be 0€.

enter image description here

⚠️ During the migration preparation process, you cannot and should not exit the SWPanel loading screen. Once the migration has started, you will be redirected to your SWPanel and the migration will take place in the background. ⚠️

Once the migration is finished, you will return to the SWPanel home Dashboard and you can now proceed to check the correct functioning of the web, by modifying your Hosts file.

More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
More than 2000 m² of own facilities and Data Centers in Spain
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.