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.
-
Click the “+” button below the hosts list and switch to the “Advanced” section. Select the host type “Import” in the following dialog.
-
Confirm your selection by clicking on the “Continue” button.
-
The next step is to enter the name of your new host. In this example we choose the name “my-host”.
-
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. -
If you want your new site to be accessible via “https” as well, activate the corresponding checkbox (SSL).
-
Confirm your selection by clicking on the “Continue” button.
-
On the next screen you will learn what information you need for the next steps.
-
Click on “Continue” to proceed to the next step.
-
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.
-
Confirm your data with a click on the “Continue” button.
-
Enter the FTP data in the next step.
-
Confirm your data with a click on the “Continue” button.
-
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.
-
Confirm your data with a click on the “Continue” button.
-
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.
-
Confirm your selection by clicking on the “Create Host” button.
-
The next dialogue box informs you about the final steps that are necessary to make full use of the new host you have created.
-
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.
-
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:
Normally this should not be a problem and you can continue by clicking the “Continue” button.
-
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.
-
To open your new host in your default browser, click on the “Open” button to the right of the host name field.