Problems to configure the local environment.

I have an old Macintosh that I have been using for local development that needs to be replaced.

In my previous environment, I used MAMP for my local web server and NetBeans for my IDE.

On my most recent Macintosh, I set things up as on my previous Mac: the only difference are the newer versions of the MAMP eb server and the newer version of the IDE, NetBeans.

Here are the settings I used in NetBeans …

Project folder:

Code:

/ Users / user1 / Documents / path / to / my / sourcecode / + htdocs / 01_Project

Folder of origin:

Code:

/ Users / user1 / Documents / path / to / my / sourcecode / + htdocs / 01_Project

Web Root:
Run as:
Project URL:

Code:

http: //local.myproject/

Index file:

When I run a test index file located here …

Code:

/Users/user1/Documents/path/to/my/sourcecode/+htdocs/01_Project/public_html/index.php

My browser tries to load the following web page …

h ttp: //wwwlocal.myproject / index.php

And it goes without saying that the page does not load due to the fake URL.

What I hope to see is …

Code:

http: //local.myproject/index.php

From what I can see, these are exactly the same settings I have on my old computer!

I'm not sure if this is a problem with MAMP or NetBeans or something else.

I could definitely need help here …

I have already lost 1 1/2 days trying to locate this, and I hope my 4 day weekend is not destroyed due to a stupid configuration problem?