Guides and tutorials

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

How to migrate from CPanel to SW Panel

The migration of your CPanel account to SWPanel requires the copying and subsequent backup of the web content and databases of your current hosting to the new service in SWHosting.

First of all you must have installed on your PC or Tablet the necessary software to perform these tasks.

  1. A web browser (Firefox, Chrome, Edge, Safari, ....) to access your CPanel account and SW Panel, as well as the DB management tool phpMyAdmin.

  2. 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 the web content in CPanel with an FTP client

First, you need to create an FTP account in your CPanel that points to the folder where your website is hosted. You must follow the following steps:

Access CPanel > Files > FTP Accounts

enter image description here

In section Add FTP account you must complete the following fields:

a) Log in: you will enter the username of FTP access.

b) Password: you will indicate the user's FTP access password.

c) Director: you will indicate the access directory of the FTP account. It must be public_html.

Finally you will confirm the creation of the FTP account by clicking on the button Create FTP account

enter image description here

We connect to the source server with the FTP data transfer program, indicating the following access credentials:

a) Server: We indicate the domain or the IP of the origin server (CPanel).

b) Username: We indicate the FTP user name that we created in our CPanel in the previous point ..

c) Password: We indicate the FTP access password of the user that we created in our Cpanel in the previous point.

d) Port: We indicate port 21.

e) We establish the FTP connection by clicking on the Quick Connection button.

enter image description here

Once the FTP connection with the source server has been established, we will see the files that make up our website in the FTP manager. Next, we will follow the following steps:

a) 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 CPanel. Once created the local directory we will click to access it and leave it open in order to copy the files in this local folder.

enter image description here

b) Next we will select all the files of our web in the window of the remote site and we will drag, keeping pressed the button of our mouse, from the window of the remote site (right) to the window of the local site (left) .

enter image description here

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

enter image description here

Exportación de la BBDD con phpMyAdmin

To export the database of your website from the CPanel you must follow the following steps:

Access the CPanel > Database > phpMyAdmin enter image description here

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

enter image description here

In the next window you must leave the options of export method and default format checked and then click on the Next button.

enter image description here

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

enter image description here

Upload web content to SW Panel with an FTP client

To migrate your website from CPanel 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

Now, we must create an FTP account towards our service in SWPanel, to do this, follow this manual:

FTP Management

With the account created, 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 record among the 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.

enter image description here

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.

enter image description here

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.

enter image description here

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

enter image description here

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

enter image description here

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

enter image description here

Once the database user has been created, go to the MySQL / MariaDB tab and then press the Create DB button:

enter image description here

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:

enter image description here

The three configurable options concerning user permissions based on data are the following:

Without control (Option by default) Sin control (Opción por defecto)

Read only (Pressing a single click on the user icon) Solo lectura (Pulsando un solo clic sobre el icono de usuario)

Total control (Pressing two clicks on the user icon) Control total (Pulsando dos clics sobre el icono de usuario)

To finish the creation of the database and the user's assignment, with the corresponding permissions click on the Save changes 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 SW Panel 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 DNS Management in the left side menu.

enter image description here

Locate the IP corresponding to the A record in the DNS zone of your new Hosting service. Also, note the names of servers and IPs corresponding to NS records, as we will use them later.

enter image description here

Then you must open your web browser and in the address bar indicate the IP corresponding to the A record of the DNS zone of your hosting service followed by /phpmyadmin. The URL should remain, for example, as the following http://81.25.255.255/phpmyadmin/ Once you have opened the phpMyadmin tool in your browser, you must indicate the User and Password of the DB of your website and click on the Continue button.

Then mark in the database where we will import the data and go to the Import tab.

enter image description here

To import the DB you must follow the following steps:

a) Use the "Choose a file" button to open your file browser and select the DB with the extension .sql that we export and save previously with the phpMyAdmin.

b) Once you have selected the DB to import, you must press the Continue button

enter image description here

c) Once the process of importing the database is finished correctly, the window will change and it will show you the message Import successfully executed

enter image description here

Updating domain name servers

In the previous point we noted the two name servers corresponding to your Hosting service with SW Panel. Now we will use these two name servers to update the configuration of the domain, substituting those that point to the hosting service with CPanel for those corresponding to the Hosting service with SWPanel.

If 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 should follow the following steps:

a) Access your SWPanel account and leader to the section Domains and Certificates > Domain Portfolio.

enter image description here

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

enter image description here

c) Use the Change DNS button 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 Save Changes button.

enter image description here

Once this action is finished, the new name servers indicated 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 finished the migration of your previous Hosting service with CPanel to your new hosting service with SW Panel.

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.