Preview with MAMP Localhost

I have just upgraded my Mac and now running with Sonoma.
I have NOVA and MAMP installed on both machines with one noticible difference.
When I preview local files on the old machine it automatically uses localhost …
http://localhost:8888/sitefolder/index.php
On the new machine I can’t get it to use local host and the files are displayed so…
file:///Users/michaelsharpe/Sites/sitefolder/index.php
I have checked my settings over and over again but I can’t see where I’m going wrong.
Anyone Help?

  1. Open project settings (upper left window corner where project name is displayed)
  2. Go to Preview
  3. Check “Use a custom server URL” option

Make sure to create proper virtual host in MAMP Pro :slight_smile:

1 Like

Thank You
I had forgotten

1 Like

If your using php may I recommend something like Laravel herd, works much better than mamp, works with regular php, it’s simpler

1 Like