Create a new empty host
Select this host type if you want to start your project from scratch.
-
Click on the “+” button at the bottom of the hosts list and then select the host type “Empty” 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 “Create Host” 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.
-
Your new host now looks like the following screenshot.