herd-community icon indicating copy to clipboard operation
herd-community copied to clipboard

[Bug]: Every site shows "File not found." when I go to the site.test

Open christopherfarrugia opened this issue 8 months ago • 1 comments

Platform

macOS

Operating system version

macOS Sequoia 15.5

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.20.0 (Build 45)

PHP Version

No response

Bug description

I have Laravel Herd installed on my Mac. My sites are in the ~/code/ folder. Herd sees the sites and I can click on the location of the site in Herd's "Sites" panel and it takes me right to the right folder. No matter what I do, I still get "File not found" when I try to load the sites. They are 2 Wordpress sites by the way.

What I have tried

Uninstall Laravel Valet Completely uninstall and reinstall Herd Moved my sites over to the ~/Herd/ directory Rebooted after reinstalling Since they're Wordpress sites, they aren't in the public directory so I made a public directory and put the site files in there. It still doesn't work. Changed the permission of the directory to 755. Ran laravel new laraveltest and created that site. Went to laraveltest.test and it shows "File not found." I have no idea what else I could do at this point but it is simply broken. Any ideas?

Steps to reproduce

Try and load any site at all with a .test

Relevant log output

nginx.log is empty. Zero bytes.

christopherfarrugia avatar Apr 30 '25 01:04 christopherfarrugia

Can you share your nginx.conf file? It's in ~/Library/Application Support/Herd/config

mpociot avatar Apr 30 '25 06:04 mpociot