JuiceBlog A TFC - Internet - Debian - Juice blog. Formerly named the most famous orange juice of the world, ever!
Posts with the tag dnsmasq:

Convenient Routing with Dnsmasq

If you’re a web developer, you may have this issue: Creating a new virtual host in your HTTP server (I still use Apache, so sue me) works fine, but then there’s that hosts file where you always have to add the new domain (e.g. mynewproject.dev) and link it with 127.0.0.1 - but not anymore! There’s a very simple way of adding and routing a wildcard domain with a quite powerful programme named dnsmasq. Thanks to tomchuck for this solution. First, get dnsmasq from your repo. sudo apt-get install dnsmasq Then create your config file. Note: All files in this folder are parsed by dnsmasq.