Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not a redirect. It's an actual A record on the domain for local.example.com -> 127.0.0.1

Then we just have an entry for local.example.com in our vhosts and bam everything works as expected. No need to mess with /etc/hosts



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: