Search

Create a new custom site

Choose this site type if your project requires either a database or if you want to copy files from a template directory. Of course, both options are possible together.

  1. Click the “+” button below the list of sites and select the site type “Custom”.

    MAMP PRO - Create a new custom site

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

  3. The next step is to enter the name of your new site. In this example we choose the name “my-site”.

  4. As “Site folder” we first create the new directory “my-site” and then select it.

    Note: Do not create a site folder under your “/Applications/MAMP” folder. A better location for your site folders would be “~/Sites/”. This will keep your site data separate from the MAMP PRO application data.

  5. If you want a database to be added automatically when the new site is created, select the “Add a database” checkbox. The new database will be immediately linked with the new site.

    MAMP PRO - Create a new custom site - Add a database

  6. If you want certain files and directories to be copied to the site folder when the new site is created, select the “Copy a template folder” check box. You can select the appropriate template folder in the next steps.

    MAMP PRO - Create a new custom site - Copy a template folder

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

  8. Enter a name for the new database. You can also create a new database user who will have access to the new database. This is optional.

    MAMP PRO - Create a new custom site - Database

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

  10. The next step is to select the directory whose contents will be copied to the site folder of the new site.

    MAMP PRO - Create a new custom site - Select template folder

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

  12. The settings for your new site are saved automatically and the servers and services are restarted automatically if necessary.

  13. To open your new site in your default browser, click on the “Open” button to the right of the site name field.

MAMP PRO - Create a new custom site - Open site in browser