News for hackers. Stuff that matters.
Re:Using Dnsmasq for local development on OS X by taylorbuley on Tuesday April 22, 2014 @10:09AM (#7627712)
What are the advantages of using an approach like this vs. editing /etc/hosts directly?
Re:Using Dnsmasq for local development on OS X by bemurphy on Tuesday April 22, 2014 @10:26AM (#7627815)
Two immediate I can think of:

1) You don't have to add new .dev hosts to /etc/hosts repeatedly. Once you're setup, all .dev is local

2) /etc/hosts doesn't support wildcards, so dnsmasq is great with apps that have many or randomized subdomains.

Re:Using Dnsmasq for local development on OS X by jdcantrell on Tuesday April 22, 2014 @02:10PM (#7629307)
I think this is really useful when you combine it with vhosts on apache/nginx. On my linux machine I run something similar that allows me to serve static assets, run a local dev server (runserver/flask/unicorn, etc) and have a .dev domain to test with.

You can then combine this with xip.io and be able to share your dev site with others.

Re:Using Dnsmasq for local development on OS X by skimmas on Tuesday April 22, 2014 @01:00PM (#7628836)
I read the article and just thought it's over engenering. I wonder how many different web sites do these people have to configure on their laptops every week.