Batista R. Harahap

Easy DNS Names for Virtual Hosts in Mac OS X

I got tired of manually inserting lines into my /etc/hosts file and decided to look for other solutions. The DD-WRT router has a DNSMAsq feature in which I list domains that are supposed to be internal domains to be resolved to its local IP. I still have to insert lines but now it's more organized and better than seeing mumbo jumbo in your hosts file.

Here are my steps:
[gist][/gist]

29 April 2012 by Batista Harahap on /etc/hosts | dns | dnsmasq | hosts | resolve | virtual host | web development
comments powered by Disqus