Search

Create a new Import host

For example, if you have a WordPress running at your provider and want to import that 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. In the following dialog, select the “Import” host type.

    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 the 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/”. This will keep your host data separate 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, select 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 only secure connections over https are allowed for security reasons, so browsers will automatically redirect from http to https. For more information about this top-level domain, see Wikipedia.

MAMP PRO - Create a new Import host - SSL

  1. Confirm your selection by clicking on the “Continue” button.

  2. The next screen will tell you what information is required for the next steps.

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

  3. Click on “Continue” to proceed to the next step.

  4. Enter the Public URL first. Once you have entered the URL, you can check that it is correct by clicking the arrow button to the right of the input field.

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

  5. Confirm your entries by clicking on the “Continue” button.

  6. In the next step, enter the FTP data.

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

  7. Confirm your entries by clicking on the “Continue” button.

  8. 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 can also select the directory manually. Click on the “Choose…” button.

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

  9. Confirm your data with a click on the “Continue” button.

  10. 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 any database, then simply leave the fields of these screens empty.

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

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

  12. The next dialog box informs you of the final steps required to take full advantage of the new host you have created.

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

  13. All data will now be downloaded from your remote host and added to your new local host. This process may take several seconds. Please be patient.

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

  14. If a problem is detected during the download, you will be notified. For example, the version of the local MySQL server may not be the same as the version of MySQL on the remote server. The corresponding message will look like this:

![MAMP PRO - Create a new Import host - Remote data - Problem](/Software-Documentation/en/MAMP-PRO-Mac/Create-a-new-host/Import/Create-a-new-Import-host-12.png)  

Normally, this should not be a problem, and you can proceed by clicking the "Continue" button.
  1. Save the settings for your new host by clicking the “Save” button at the bottom right. The servers will then need to be restarted. Confirm this by clicking the “Yes” button in the corresponding dialog box.

    MAMP PRO - Create a new Import host - Restart servers

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