valet-plus
valet-plus copied to clipboard
Bug: Can't set up new sites after install
- [✅ ] 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
andvalet 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
Do you use any custom DNS server IPs in your Network settings, like CloudFlare's or Google's? The left panel should be empty:
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.
Same problem here
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?