Like most who use Valet (and many who don’t), I’ve been using the
.dev TLD for projects on my development machine. And while I mostly use Firefox as my dev browser I do sometimes use Chrome. And Chrome no longers allows
.dev to be used in this way (at least not without setting up HTTPS) – and who knows, perhaps Firefox will follow suit.
But the thing is,
.dev is actually a valid TLD that’s owned by Google. We probably shouldn’t have been using it like that in the first place.
As this person (and others) have said, we really should be using one of the TLDs that are reserved for such things. My first thought was that I’d use
.localhost for dev work and
.test for testing, but
.localhost may not work with VMs.
So I’m thinking I’ll just switch Valet to use
.test, both for development and for testing, unless / until someone comes up with a better idea that works with VMs and both major browsers without needing to bother with HTTPS.
PS – I’m a hobbyist developer (my day job is in IT but not as a coder) so for me it’s simply not worth the hassle to set up certificates when I can simply type
valet domain test in three seconds and then get back to coding. YMMV.