Guides and tutorials

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

How to migrate from Vesta CP to SW Panel

Downloading the web content to Vesta CP with an FTP client

During the process of creating your domain in Vesta CP you also defined the FTP access data to your website.

enter image description here

Remember that the directory where the content of your website is stored in Vesta CP is /home/admin/web/tudominio.com/public_html

We will establish an FTP connection between your local device and the remote server using these data:

a) Server: we indicate the IP of the origin server with Vesta CP

b) User name: We indicate the FTP user name that we configure in our Vesta CP during the creation of the domain.

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

d) Port: We indicate port 21.

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

enter image description here

Next, in the window corresponding to the local site (usually the one on the left of the FTP program) we will create a directory to store our website. We will call it, for example, Web Vesta.

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

Next, we will select all the files on our website in the remote site window and drag, holding down the mouse button, from the remote site window (Right) to the local site window (Left).

enter image description here

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

enter image description here

DB export with phpMyAdmin

To export your website's database from the Vesta CP you must follow the following steps:

Access Vesta CP> Databases> phpMyAdmin

enter image description here

Once the phpMyAdmin window is open in your browser, you must indicate the database username and the password that you assigned when creating your domain in Vesta CP. Then accept by clicking on the button Continue enter image description here

Once you have accessed the phpMyAdmin, you must select the DB corresponding to your website and then go to the Export tab

enter image description here

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

enter image description here

Your browser will download your website's database in file.sql format to your downloads folder.

enter image description here

Uploading web content to SW Panel with an FTP client

To migrate your website from Vesta CP to SW Panel you must have contracted a Hosting service or a Cloud server with SW Panel at 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 must follow the following steps

First, you must access your SWPanel and, in the active services tree, find 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 FTP Management, in the left side menu.

enter image description here

In the next window you must click on the button Create Account.

enter image description here

Next, you must indicate the following information in the configuration window of the new FTP account:

a) Account Login: 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 the directory tree and mark the web folder

Finally you must accept the configuration parameters by clicking on the button Create Account

enter image description here

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 type A record among the existing DNS records.

b) Username: We indicate the FTP username 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 button Quick connection.

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 on our website in the local site window and drag, holding down the mouse button, from the local site window (Left) to the remote site window (Right).

enter image description here

b) Once the copying process is finished, the exact same content will be displayed in the two windows of the FTP client. That 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

Creation of user and database of your website data 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. You can also access it through the service tree. 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.

enter image description here

In the next window you must go to the tab DB Users and click on the button Create User

enter image description here

Next, we will indicate the username of our database and its password, which must be the same ones used as the database user of our website and which are also defined in the configuration files of our site . We will finish the creation of the DB user by clicking on the button Create User

enter image description here

Once the database user is created. We will go to the MySQL / MariaDB tab:

enter image description here

Then press the button Create DB and, in the next window, indicate the following information:

a) The name of the database.

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

enter image description here

The three configurable options referring to user permissions on the database are the following:

No control (Default option)

Read only

Total control

To finish creating the database and assigning the user with the corresponding permissions, click on the Create MariaDB button.

Importing the DB with phpMyAdmin

To import the database of your website 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 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 write down the server names 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, indicate the IP corresponding to the A record of the DNS zone of your hosting service followed by / phpmyadmin. The URL should be, for example, like the following http://81.25.255.255/phpmyadmin/

enter image description here

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

enter image description here

Next, mark in the DB in which we will 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 button Choose a file to open your file browser and select the database with the extension .sql that we exported and saved previously with the phpMyAdmin.

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

enter image description here

c) Once the import process of the database has been completed successfully, the window will change and will show you 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 those that point to the hosting service with Vesta CP for those corresponding to the Hosting service with SWPanel.

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.

enter image description here

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

enter image description here

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.

enter image description here

Once this action is finished, 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 of your previous Hosting service with Vesta CP to your new hosting service with SW Panel.

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.
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.