When developing we tend to use a lot of different domains to do our work on, I typically will use the .drupal
top level domain, so my project URLs look something like:
project-name.drupal
When starting a new project, one of the annoying things that we have to do is create an entry in the hosts file for this domain:
127.0.0.1 project-name.drupal
On Ubuntu there is a really simple way to automate this and give yourself a 'wilcard' DNS entry, so any domain that ends in .drupal
will resolve to my local machine. Enter Dnsmasq.
Installation...