Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel Herd custom URL sites show "This site can’t be reached"

I'm new to Laravel Herd and not sure what I did wrong, I installed Herd from the main Herd page, on my Windows 10 machine, I installed it with admin privileges just like the docs say and everything went smoothly, however Herd sites don't seem to work here is what I see

URL http://test-project.test

chrome browser at

Herd site page

General tap Herd Site General Tap Information tap Herd Site Information Tap

this is Herd version 1.8.

here are the things I have tried so far:

  1. adding a "etc/resolve/test" file with the content of "nameserver 127.0.0.1" as suggested in this GitHub Issue comment
  2. changing port number for the HerdHelper (the status usually is red and after changing the port goes green) then restarting services as suggested in this StackOverflow solution
  3. changing DNS settings on chrome to make it 'OS default' like some suggested in this GitHub issue

None of the previous suggested solutions worked for me, any suggestions?

if there is anything I can provide please let me know.

like image 312
anas ali Avatar asked Oct 29 '25 15:10

anas ali


2 Answers

  1. Go to dashboard
  2. then quick access
  3. then open sites.
  4. top left go to add and add the wanted project.

after that try visiting project.test.

i tried everything from everywhere for over 3 hours to come up with this solution by myself lol

i hope it works for you buddy

like image 136
seddek nadhem Avatar answered Nov 01 '25 06:11

seddek nadhem


So Easy

Edit file hosts: edit host

sudo nano /etc/hosts

then

127.0.0.1    yourlaravel.test
like image 42
Andi Syafrianda Avatar answered Nov 01 '25 04:11

Andi Syafrianda