Create a new Import host

For example, if you have a WordPress running at your provider and want to import this installation right when you set up the new host, then this host type is just right for you.

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

    MAMP PRO - Create a new Import 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-host”.

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

  4. As “Document root” we first create the new directory “my-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 Import host - Select document root

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

    MAMP PRO - Create a new Import 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 Import 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 Import 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 Import 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 Import 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 Import host - Remote data - Database settings

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

  17. The next dialogue box informs you about the final steps that are necessary to make full use of the new host you have created.

    MAMP PRO - Create a new Import host - Remote data - Before you can open the new host...

  18. All data is now downloaded from your remote host and added to your new local host. This process may take a few seconds. Please be patient.

    MAMP PRO - Create a new Import host - Remote data - Download

  19. If a problem is detected during downloading, you will be informed. For example, the version of the local MySQL server may not be identical to the MySQL version on the remote server. The corresponding message looks like the following:

    MAMP PRO - Create a new Import host - Remote data - Problem

    Normally this should not be a problem and you can continue by clicking the “Continue” button.

  20. 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 Import host - Restart servers

  21. 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 Import host - Open host in browser