Hacker News new | ask | show | jobs
by typicode 3717 days ago
Thank you :) Which part would you like me to explain?
1 comments

how is xyz.dev resolved when I don't set a new DNS and don't edit the hosts file. Somehow I don't understand how this works, but maybe I'm not smart enough :)
It's a simple trick, hotel comes with a proxy.pac file https://github.com/typicode/hotel/tree/master/docs

You can use it to tell that .dev domains should be handled by hotel :)

So there's no magic (which is often better).

And what's great is that it's optional. Hotel can still help you in your day to day development workflow even if you don't use local domains (simply go to localhost:2000 instead of hotel.dev).