Search

First Steps > View localhost

Your default host for MAMP PRO is “localhost”. The files for localhost are initially located in the “C:\MAMP\htdocs” folder. Click the “Open” button located to the right of the “Host Name” text box to open localhost in a web browser.

MAMP

If you are upgrading from MAMP Free and have used multiple subdirectories under “C:\MAMP\htdocs” to create multiple hosts, you will need to check the “index” checkbox to see the directory structure of “C:\MAMP\htdocs”. Check this box, restart your servers, and you will see your directory structure.

MAMP

Note: Although the default localhost document root is located in “C:\MAMP\htdocs”, it’s best to keep its document root and the document roots of additional hosts out of the “C:\MAMP” folder. A better directory structure for your host document root folders would be “C:\Users\MyUserName\Documents\Sites\localhost”, “C:\Users\MyUserName\Documents\Sites\site1”, “C:\Users\MyUserName\Documents\Sites\site2”, etc … .