Snapey's avatar
Level 122

Laravel Herd, same site - multiple domains

I have an existing project, with a .test domain linked to it, and now I need to simulate production site where multiple domain names point to the same project (white labelling of site)

At the command line, I executed valet link newdomain and it said it worked.

valet links shows newdomain.test is pointing to the same folder as the original domain

Herd Sites panel does not show the newdomain.test at all, and when tried, the site returns a Herd site not found 404 page.

All google searches prior to Herd say you can simply valet link domain1 and valet link domain2

Any ideas anyone please?

0 likes
2 replies
tykus's avatar
tykus
Best Answer
Level 104

I don't have valet installed directly anymore, but this link command works using the herd CLI:

herd link newdomain
5 likes

Please or to participate in this conversation.