aaemnnosttv / wp-cli-valet-command

Harness the power of Laravel Valet for creating fully functional WordPress installs in seconds.
https://aaemnnost.tv/wp-cli-commands/valet/
299 stars 31 forks source link

Some .test domains aren't loading (Possible old Trellis interference) #59

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello,

I'm having an issue with some .test domain when I create them using wp valet new <name>.

After some thoughts I realized all problematic domain names were those that I also used while experimenting with Trellis. These local Trellis install are long gone by now (in my files and my Virtual Box as well), but somehow, something is interferring with my new valet-managed domains.

Have you ever experienced this? How would I clean this up, in order to be able to use .test again on Valet?

Thanks.

aaemnnosttv commented 5 years ago

This sounds like an issue with the domain resolution rather than the valet wp-cli command.

I would check your /etc/hosts file for added entries for these domains and remove them as Valet uses dnsmasq to catch all .test domains (or whatever your configured TLD is) and route them to localhost.