Search

Create a new empty host

Select this host type if you want to start your project from scratch.

  1. Click the “+” button at the bottom of the hosts list, and then select the “Empty” host type in the following dialog box.
    MAMP PRO - Create a new empty 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”.

  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.

  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 empty host

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

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

    MAMP PRO - Create a new empty host - Restart servers

  3. 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 empty host - Open host in browser

  4. Your new host will now look like the following screenshot.

    MAMP PRO - Create a new empty host - Done