News for hackers. Stuff that matters.
Re:Ask HN: What TLD do you use for local development? by dmlittle on Monday September 26, 2016 @01:18AM (#12579404)
You can modify your /etc/hosts to point to localhost and that does the trick without having to go through a TLD or care if the domain is taken.

Contents of /etc/hosts:

127.0.0.1 domain.com

127.0.0.1 subdomain1.domain.com

127.0.0.1 subdomain2.domain.com

Re:Ask HN: What TLD do you use for local development? by asadjb on Monday September 26, 2016 @02:37AM (#12579714)
I run a local dnsmasq server, and just have the resolver for the 'dev' TLD point to that. This way, any .dev URL always points to my local machine. I just configure it in Nginx and I'm good to go.
Re:Ask HN: What TLD do you use for local development? by dmlittle on Monday September 26, 2016 @03:04AM (#12579838)
Running a local DNS resolver for local development seems like an overkill. You have to have the resolver and nginx properly setup and constantly running (not that it's a issue)
Re:Ask HN: What TLD do you use for local development? by bitJericho on Monday September 26, 2016 @03:54AM (#12580046)
My old router, ddwrt, has this out of the box. My new router, pfsense, has override settings, tho not sure through what daemon that is configured through. I also run a windows domain with DNS. There are many ways to do it.
Re:Ask HN: What TLD do you use for local development? by arc_of_descent on Monday September 26, 2016 @01:26AM (#12579429)
Same here. But I don't use a TLD. I name it after the app. So, crm_dev, app_dev, etc.