How do I migrate a host to a new hosting provider?

If you want to move a WordPress installation from remote server A to remote server B, this host type is a good starting point for this task.

Note: If you want to move a WordPress installation from remote server A to remote server B, you need two local hosts of this type. With the first local host, you download the WordPress installation from remote server A. You can then migrate the contents of this local host to the second local host. From there you can publish the WordPress installation on the remote server B.

  1. Click the "+" button below the hosts list and switch to the "Advanced" section. Select the host type "Migration" in the following dialog.

    MAMP PRO - Create a new Migration host

  2. Confirm your selection by clicking on the "Continue" button.

  3. The next step is to enter the name of your new host. In this example we choose the name "my-source-host"

    MAMP PRO - Create a new Migration host - Enter the name

  4. As "Document root" we first create the new directory "my-source-host" and then select it.

    Note: Do not create document root folders under your "/Applications/MAMP" folder. A better location for your document root folders would be "~/Sites/". When you do this, your host data is separated from the MAMP PRO application data.

    MAMP PRO - Create a new Migration host - Select document root

  5. If you want your new site to be accessible via "https" as well, activate the corresponding checkbox (SSL).

    Note that this checkbox is automatically checked (and read only) if you specify a name ending in ".dev" because this is a top-level domain and the publisher has specified that for security reasons only secure connections over https are allowed, so browsers automatically redirect from http to https. More information about this top-level domain can be found at Wikipedia.

    MAMP PRO - Create a new Migration host - SSL

  6. Confirm your selection by clicking on the "Continue" button.

  7. On the next screen you will learn what information you need for the next steps.

    MAMP PRO - Create a new Migration host - Information about remote data

  8. Click on "Continue" to proceed to the next step.

  9. First enter the Public URL. Once you have entered the URL, you can check that it is correct by clicking on the arrow button to the right of the input field.

    MAMP PRO - Create a new Migration host - Remote data - Public URL

  10. Confirm your data with a click on the "Continue" button.

  11. Enter the FTP data in the next step.

    MAMP PRO - Create a new Migration host - Remote data - FTP data

  12. Confirm your data with a click on the "Continue" button.

  13. The next step is to specify the document root on your remote server. If you are not sure, MAMP PRO can try to find it automatically. Click on the "Auto-Detect…" button. You also have the possibility to select the directory manually. Click on the "Choose…" button.

    MAMP PRO - Create a new Migration host - Remote data - Document Root

  14. Confirm your data with a click on the "Continue" button.

  15. In the next step you enter the access data for the database on your remote server. If there is a WordPress installation on the server and you want to import it, MAMP PRO can automatically request the corresponding information. To do this, click on the "Auto-Detect" button. If you do not want to import database data, then simply leave the fields of these screens empty.

    MAMP PRO - Create a new Migration host - Remote data - Database settings

  16. Confirm your selection by clicking on the "Create Host" button.

  17. Save the settings for your new host by clicking the "Save" button at the bottom right. The servers must then be restarted. Confirm this by clicking the "Yes" button in the corresponding dialogue box.

    MAMP PRO - Create a new Migration host - Restart servers

  18. To open your new host in your default browser, click on the "Open" button to the right of the host name field.

    MAMP PRO - Create a new Migration host - Open host in browser