Infinity1001's avatar

Project.test Routing to IIS

I just installed PHP and Laravel on my system using Laravel Herd and created a project called "project". My problem starts when I try to navigate to my project "project.test" on the browser. Instead of my project, it runs IIS and I don't understand why

0 likes
6 replies
Tray2's avatar

Probably because you have iis running on the port 80. So my suggestion is to disable iis

Infinity1001's avatar

@Tray2 I disabled IIS and it returned "HTTP Error 404. The requested resource is not found". I also noticed that the NGINX server on Herd is not running and it has this error in the logs "2024/09/21 18:36:35 [emerg] 20320#14444: bind() to 127.0.0.1:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permissions)"

Infinity1001's avatar

@Tray2 I eventually had to change the port NGINX was running on in the .config\herd\config\pro\nginx\adminer file and the C.config\herd\config\nginx\herd files for it to start running, but the project is still throwing "HTTP Error 404. The requested resource is not found." when I try to run project.test.

Tray2's avatar

@Infinity1001 So IIS is still preventing you from running Herd properly. I suggest uninstalling IIS completely, then you can go back to the correct port on nginx.

Please or to participate in this conversation.