Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
HN Tip: Redirect HackerNews.com via host file
1 point by dustyreagan on Oct 4, 2010 | hide | past | favorite
At least once every few days I type HackerNews.com into my browser's address bar expecting to end up at news.ycombinator.com. Of course I never do. So today I fixed that.

If you're using OS X Snow Leopard.

1) open Terminal and type:

2) sudo nano /private/etc/hosts

3) add 174.132.225.106 hackernews.com to the bottom of the host file

4) cntrl+x to exit and save the host file

5) flush the DNS cache with this command: dscacheutil -flushcache

Maybe someone else can post quick instructions for Linux & Windows.

PS. I'm sure HackerNews.com is a fine site. It's just not one I visit. Well, except on accident when I'm trying to get here. :)



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

Search: