valet-plus icon indicating copy to clipboard operation
valet-plus copied to clipboard

Bug: Can't set up new sites after install

Open robertkent87 opened this issue 3 years ago • 2 comments

  • [✅ ] I've checked the issue queue and could not find anything similar to my bug.
  • [✅ ] I'm on the latest version of valet-plus (valet --version): Valet+ 2.1.0
  • [✅ ] I've run valet fix and valet install after updating and before submitting my issue/feature.

What is the problem? I can't create a new site. I've just installed valet plus but ping is failing

➜ valet links +-----------------+-----+------------------------+----------------------------------------+ | Site | SSL | URL | Path | +-----------------+-----+------------------------+----------------------------------------+ | mf_website.test | | http://mf_website.test | /Users/rkent05/Projects/mf_website/web | +-----------------+-----+------------------------+----------------------------------------+

➜ ping mf_website.test ping: cannot resolve mf_website.test: Unknown host

robertkent87 avatar Mar 17 '21 15:03 robertkent87

Do you use any custom DNS server IPs in your Network settings, like CloudFlare's or Google's? The left panel should be empty:

DNS IPs

If not, are you using any VPN? Both the custom DNS IP and using a VPN had caused valet to not work in the past, so it's worth looking into it.

thaikolja avatar Apr 09 '21 15:04 thaikolja

Same problem here

jornwildenbeest avatar Nov 09 '21 12:11 jornwildenbeest

Did you valet park in /Users/rkent05/Projects? You won't be needing to create a link if the URL you want to use is the same as your directory name inside your parked directory. So, if you parked in /Users/bla/Projects and have a directory named funkysite. The URL http://funkysite.test should be available without making a link to it. If you want to use http://notsofunkysite.test on the same directory, then create a link for that domain.

Besides that, not resolving might indicate an dnsmasq error. Can you check the logs?

mischabraam avatar Oct 16 '23 08:10 mischabraam