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 SW Panel requires the copying and subsequent backup of the web content and databases from your current hosting to the new service at SWHosting.

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

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

  2. An FTP data transfer program (Filezilla, Cyberduck, AndFTP....) to download your site's web content and upload it to the new server.

Downloading web content to 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 will need to follow these steps:

Login to CPanel > Files > FTP Accounts enter image description here

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

a) Login: you will indicate the FTP access username.

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

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

Finally, confirm the creation of the FTP account by clicking on the Create FTP account button.

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 IP of the origin server (CPanel).

b) User name: 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 the port 21.

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

enter image description here

Once the FTP connection to the source server has been established, we will see the files that make up our web site in the FTP manager. Then, we will follow the next 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 web. We will call it, for example, Web CPanel. Once the local directory is created, we will click to access it and leave it open in order to copy the files to this local folder.

enter image description here

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

enter image description here

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

enter image description here

Database export with phpMyAdmin

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

Access the CPanel > Databases > phpMyAdmin enter image description here

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

enter image description here

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

enter image description here

Your browser will download your web database in sql file format to your download folder.

enter image description here

Uploading 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 with SWHosting.

If you don't have any of these services available yet, you can get information about the hiring process through the following manuals:

How to get free hosting from SW Hosting

How to create a Hosting service

How to create a Cloud with SW Panel

Now, we will have to create an FTP account to our service in SWPanel, to do it follow this manual:

FTP Management

With the created account 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, where 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 record type A 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) Establish the FTP connection by clicking on the Quick Connection button.

enter image description here

Once the FTP connection has been established with the remote server, we will follow the following steps:

a) We will select all the files of our website in the local site window and drag them by holding down our mouse button, from the local site window (left) to the remote site window (right).

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

enter image description here

Creating the user and the database for your web site in SW Panel

First of all, you must access your SWPanel and in the upper search window indicate the name of the hosting service you want to configure. Once you have located the service, you can click on its name to access its Dashboard.

enter image description here

Once you are in the Hosting Dashboard, click on the Database Management section in the left side menu.

enter image description here

Next, you will have to follow the next steps to create the DB user:

In the following window, go to the DBB 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 that will have to be the same ones used as user of DB of our Web and defined in the configuration files of our site. We will finalize the creation of the DB user by clicking on the Create User button.

enter image description here

Once the database user is created, go to the MySQL/MariaDB tab and then click on the Create DB button:

enter image description here

In the following window you will have to indicate the following data:

a) The name of the database.

b) The access permissions to the database for the previously created user. To assign them, click on the icon to the right of the user's name:

enter image description here

The three configurable options concerning the user's permissions on the database are as follows:

No control (Default option)

**Read only

Full control** (Default option) Full control (Default option)

To finalize the creation of the database and the assignment of the user with the corresponding permissions, click on the Save changes button.

Importing the database with phpMyAdmin

To import your web database to your new hosting in SW Panel you will have to follow these steps:

First, you must access your SW Panel and in the top search window indicate the name of the hosting service you want to configure. Once you have located the service, 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 DNS Management section 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 make a note of the nameservers and IPs corresponding to the NS records, as we will use them later.

enter image description here

Next, you must open your web browser and in the address bar enter the IP corresponding to the A record of the DNS zone of your hosting service followed by /phpmyadmin. The URL should look, for example, like this http://IP/phpmyadmin/ Once the phpMyadmin tool has opened in your browser you must enter the User and Password of your website's database and click on the Continue button.

Then click on the database where you want to import the data and go to the Import tab.

enter image description here

To import the database you must follow the following steps:

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

b) Once you have selected the database to import, you must click the button Continue.

enter image description here

c) Once the DB import process has been successfully completed, the window will change and will display the message Import successfully executed.

enter image description here

Updating the domain name servers

In the previous point we wrote down the two name servers corresponding to your Hosting service with SW Panel. Now we will use these two name servers to update the domain configuration, replacing the ones pointing to the hosting service with CPanel with the ones corresponding to the Hosting service with SWPanel.

If your domain is not registered with SW Hosting, you will have to 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 will have to follow the following steps:

a) Log in to your SWPanel account and go to the Domains and Certificates > Domain Portfolio section.

enter image description here

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

enter image description here

c) Use the DNS Change button to modify the DNS records by replacing them with the names of the DNS servers corresponding to your Hosting with SW Panel service. Then 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 will be in charge of managing the DNS queries of your domain, so that the web requests will show the site of your new Hosting service.

With this last step we will have finished the migration from 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.