you can set the project url when creating the project, which is the best time for this if you think about it. This is the bottom parameter on the page where you select the directory for the code.
Although, since you have already created it, you can easily change it in the project properties. I am not 100% sure if this will work if you do this on your local machine; the only web projects that I open right now, I work through SFTP in NetBeans, but changing the settings to the local web server, it shows the same option:
- In the
Projects panel, right-click the project and select Properties - Go to
Run Configuration on the left side of the window - As a third option, you should see the
Project URL , here you set what you want as the root URL for the project. So you just have http://myprojectmachine/
Tarka source share