How to migrate from Plesk to SW Panel
What is needed to migrate?
The migration of your Plesk account to SWPanel requires the copying and subsequent backup of the web content and databases of your current hosting service to the new SWHosting service.
First, you must have installed on your PC or Tablet the necessary software to perform these tasks.
-
A web browser (Firefox, Chrome, Edge, Safari, ....) to access your Plesk and SW Panel account, as well as the DB management tool phpMyAdmin.
-
An FTP data transfer program (Filezilla, Cyberduck, AndFTP ....) to download the web content of your site and upload it later to the new server.
Downloading web content in Plesk with an FTP client
During the process of creating your domain in Plesk you also defined the FTP access data to your website.

We will establish an FTP connection between your local device and the remote server using this data:
a) Server: indicate the IP of the origin server (Plesk)
b) Username: We indicate the FTP user name that we configured in our Plesk during the creation of the domain.
c) Password: we indicate the FTP access password of the user that we created in our Plesk in the previous point.
d) Port: We indicate port 21.
e) We establish the FTP connection by clicking on the Quick Connect button.

Once the FTP connection with the source server has been established, we will be located in the directory httpdocs and we will be able to see the files that make up our website.
Then, in the window corresponding to the local site (Normally the one on the left of the FTP program) we will create a directory to save our website. We will call it, for example, Web Plesk.
Once the local directory is created, we will click to access it and leave it open in order to copy the files in this local folder.

Then we will select all the files on our website in the remote site window and drag, holding the mouse button, from the remote site window (right) to the local site window (left).

Exactly the same content will be displayed in the two FTP client windows once the copy process has finished. That means that the content of the web has been copied correctly from the remote server to our local directory.

Exporting the database with phpMyAdmin
To export the database of your web from the Plesk you must follow the following steps:
Access the Plesk > Database > phpMyAdmin

Once you open the phpMyAdmin window in your browser, you must select the corresponding database for your website and then go to the export tab

In the next window you must check the options for export method and default format and then click on the Continue button.

Your browser will download the database of your web in the form of file.sql to your download folder.

Upload web content to SW Panel with an FTP client
To migrate your web from Plesk to SW Panel, you must have a Hosting service or a Cloud server with SW Panel contracted in SWHosting.
If you still do not have any of these types of service available, you can find out about the hiring process through the following manuals:
How to get free hosting from SW Hosting
Create Hosting Service
Create a Cloud with SW Panel
Once you have a hosting service available in your SW Panel, you should follow the next steps
First, you must access your SWPanel and in the upper search window indicate the name of the hosting service you wish to configure. Once the service is located you can click on its name to access its Dashboard.

Once you are located in the Dashboard of the Hosting service you must click on the section FTP Management, in the left side menu.

In the next window you must click on the Create Account button or or ** Create your first FTP account **.

Then you must indicate the following information in the configuration window of the new FTP account:
a) Login account: You must indicate the name of the FTP access user.
b) Password: You must indicate the password of the FTP access user.
c) Directory: You must navigate in the directory tree and mark the web folder
Finally you must accept the configuration parameters by clicking on the Create Account button

We connect to the destination server with the FTP data transfer program, indicating the following access credentials:
a) Server: We indicate the IP of the destination server, in which we have our Hosting service with SW Panel. You can find the IP of your new Hosting service in the section DNS Management in the left side menu. Specifically, it is the IP that appears in the type A registry among existing DNS records.
b) Username: We indicate the FTP user name that we created in our SW Panel in the previous point.
c) Password: We indicate the FTP access password of the user that we created in our SW Panel in the previous point.
d) Port: We indicate port 21.
e) We establish the FTP connection by clicking on the Quick Connection button.

Once the FTP connection with the remote server has been established, we will follow the following steps:
a) We will select all the files of our website in the window of the local site and drag, keeping the button of our mouse pressed, from the window of the local site (left) to the window of the remote site (right).

b) Once the copying process is finished, the same content will be displayed in the two FTP client windows. This means that the content of the web has been copied correctly from our local directory to the web directory on the remote server.

Creation of the user and the database of your website in SW Panel
First you must access your SWPanel and in the upper search window indicate the name of the hosting service you want to configure. Once the service is located you can click on its name to access its Dashboard.

Once you are located in the Dashboard of the Hosting service you must click on the section DB Management, in the left side menu.

Then you must follow the following steps to create the user of DB:
In the next window you must locate in the DB Users tab and click on the Create User button or Create your first DB user:

Next we will indicate the name of user of our DB and its password, which should be the same ones used as a user of our website's DB and defined in the configuration files of our site. We will finish the creation of the user of DB by clicking on the button Create User

Once the database user is created. We will be located in the MySQL/MariaDB tab and then press the Create DB button or Create your first Mysql / MariaDB DB:

In the next window, you must indicate the following data:
a) The name of the database.
b) Access permissions to the database for the user created above. To assign them, click on the icon to the right of the user's name:
The three configurable options concerning user permissions based on data are the following:
Without control (Option by default)

Read only (Pressing a single click on the user icon)

** Total control** (Pressing two clicks on the user icon)

To finish the creation of the database and the user's assignment, with the corresponding permissions click on the Create MariaDB button.

Importing the database with phpMyAdmin
To import the database of your web to your new hosting in SW Panel you must follow the following steps:
First, you must access your SWPanel and in the upper search window indicate the name of the hosting service you wish to configure. Once the service is located you can click on its name to access its Dashboard.
Once you are located in the Dashboard of the Hosting service you must click on the section Database Management, in the left side menu, and go to the "[...]", on the right side of the database name. Once there, click on "Modify DB" so that the following screen appears:

We must look at the lower section, highlighted in green. In it we will see a link with which we can access PHPMyadmin. We also have the option to access through the black button next to it.
Once the phpMyadmin tool has been opened in your browser, you must indicate the User and Password of your website's database and click on the button Continue
A continuación, marca en la BBDD en la que importaremos los datos y dirígete a la pestaña Importar.

To import the database you must follow the following steps:
a) Use the button Choose a file to open your file browser and select the DB with the extension .sql that we exported and saved previously with the phpMyAdmin.
b) Once you have selected the DB to import you must press the button Continue

c) Once the database import process has been completed successfully, the window will change and will show you the message Import successfully executed

Updating the domain name servers
First, you will have to find out which are the two nameservers corresponding to your service with SWHosting. To do this, go to the Dashboard of your service and click on DNS Management, in the blue panel. A window will appear with all our DNS records, we will look at those in the "NS" section:

Now we will use these two name servers to update the domain configuration, replacing those that point to the hosting service with Plesk by those corresponding to the Hosting service with SW Panel.
In the event that your domain is not registered with SW Hosting, you must use the corresponding domain management tool to replace the current name servers with those of your Hosting service with SW Panel.
If your domain is registered with SW Hosting you must follow the following steps:
a) Access your SW Panel account and go to the section Domains and Certificates> Domain Portfolio.

b) Locate the domain corresponding to your Hosting service with SW Panel and in the Manage menu, click on the option DNS Data.

c) Use the button Change DNS to modify the DNS records, replacing them with the names of the DNS servers corresponding to your Hosting service with SW Panel. Next, check the validation box and accept the changes with the button Save Changes..

Once this action is completed, the new indicated name servers will be in charge of managing the DNS queries of your domain so that the web requests show the site of your new Hosting service.
With this last step we will have completed the migration from your previous Hosting service with Plesk to your new hosting service with SW Panel.