Categories
Engineering

Automatic local domains: Setting up dnsmasq for macOS High Sierra to Big Sur using Homebrew

Have you ever wished you could add domains on your local machine (127.0.0.1) on the fly and not have to modify your /etc/hosts file? These are the steps that will allow you to create foo.localhost, bar.localhost, myproject.localhost …. just anything.localhost Why .localhost? Back in 1999 localhost top level domain (tld) was reserved by the Internet […]