Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

neilstee's avatar

Conflicts on Valet and .dev websites

Does anyone have an issue accessing .dev websites on the internet (in my case https://shopify.dev - an actual website that is not on my local)? It seems like Valet is causing this because it shows Valet - Not Found.

Any idea how to fix this? Thanks!

0 likes
12 replies
Sinnbeck's avatar

Did you perhaps set valet up to use .dev for your local sites instead of .test which is default?

neilstee's avatar

@Sinnbeck that's weird, I thought the default is .dev? I did not touch any configuration (both my mac mini and MacBook uses .dev)

neilstee's avatar

@Sinnbeck Ohhh my fault. I remember now. I did change it to .dev because of a social media authentication that I'm working on that requires a domain that is not .test.

tykus's avatar

You have set .dev as yout Valet TLD perhaps. You can either (i) revert to the default .test TLD; or add exceptions to the DNSMasq configuration for any real .dev website (which is tedious)!

1 like
neilstee's avatar

The only workaround that I can think of is to edit /etc/hosts file and add the IP with the .dev domain (in this case it's 185.146.173.20 shopify.dev)

tykus's avatar

@neilstee it is not the only option. DNSMasq is intercepting the domain.dev requests; and sending it to Valet to handle. You can configure DNSMasq to whitelist certain domains.

1 like

Please or to participate in this conversation.