App Migration

In this tutorial, we will show you how to migrate your application to SetupServer.io

Follow above video or our step by step documentation:

First Login to your SetupServer.io Account. Select your Server in which you want to migrate your web application or else add a new server.

Add a new “Blank App” to your server. If you don’t know how to add Blank App to your Server, see our documentation – Add App to Server and follow the instructions.

You can view your Blank App on your Application List. Now select that Blank App.

Now go to Migration page from left side navigation menu.

Before migrating your app disable HTTPS from WordPress and also remove www from website domain. For WordPress site go to WordPress>Settings>General and remove https:// from all URL’s and replace it with http:// and also remove www from all the URL

Now you will need to fill all the following details for migrating your web application.

  1. Host Name – Enter the Host name of your server from which you want to migrate App.
  2. User ID – Enter root user id of your server from which you want to migrate your App.
  3. Password – Enter Password to login to your Server from which you want to migrate App.
  4. Migrate From – From where you want to Migrate your App. For example – ServerAvatar, ServerPilot or from any other source.
  5. App Type – Select App Type of your migrated App. For example – WordPress or OpenCart.
  6. Installed App Path – Enter your full installation path of your application. For example, for SetupServer the full app installation path will be
    /home/USER_NAME/applications/APP_NAME/public
    and for ServerAvatar it would be
    /var/www/yourdomain.com/html

    Installed App Paths

    For ServerPilot: /srv/users/serverpilot/apps/APP_NAME/public
    EasyEngine: /var/www/DOMAIN_NAME/htdocs
    For ServerAvatar: /var/www/DOMAIN_NAME/
    For Nginx: /usr/share/nginx/html or /var/www/html or /var/www/SOME_FOLDER
    For Apache2: /var/www/html
    For SetupServer: /home/setupserver/applications/APP_NAME/public

  7. Database Type – Select the type of your current App database. For example MySQL
  8. Database Port – Select your app database port on which your database is present.
  9. Database Name – Enter your Database name. You can find it in wp_config file.
  10. Database ID – Enter your database user id, which you use to access your database. You can find it in wp_config file.
  11. Database Password – Enter your database Password, which you use to access your database. You can find it in wp_config file.

We have provided a sample example for migrating an app from one server to another. Both of the servers are connected to SetupServer, so the installation path will not vary much. But you can migrate your application to SetupServer from any other sources like ServerAvatar, ServerPilot, EasyEngine, etc.

After completing all the above details, click on “Migrate App” button to migrate your application to SetupServer from other sources or else migrate your application between two servers.

On the successful migration of your app, your app will be listed as Applications List with App Type as ‘WordPress‘ as you have migrated WordPress app to a different server and now there will be no Blank App present in the Application List.

Check whether your app migration was successful or not before deleting your server. If the migration was not successful, migrate your application manually.

Now add a website to your migrated app, and you are ready to go live again. See our documentation – Add Website to your App.

Updated on August 1, 2017

Was this article helpful?

Related Articles