Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Setup 'Hacker News.com' to redirect to this website (gist.github.com)
1 point by mattkenefick on April 13, 2020 | hide | past | favorite | 3 comments



I've become fed up with typing "HackerNews.com" into the address bar and having it go to SpaceRogue.

This script should install this to your hosts file on unix/windows.

The change is: 209.216.230.240 hackernews.com www.hackernews.com

Feel free to check my work. I'm just sharing in case anyone else wants to give it a go.


I am confused though, as to why you would redirect someone else's domain to go to another party's site? It'd be like if I changed it so every time someone typed google.com it went to duckduckgo.com. Yeah, it might be more convenient for me, but it's... kinda breaking the web? Just for yourself, I guess.


It's definitely personal choice / for-yourself thing.

For me, I think it's fine to change things that are specific / personal. I have plenty of modifications for dev work, staging, etc.. but also refer to things like Corp.com (https://krebsonsecurity.com/2020/04/microsoft-buys-corp-com-...)

Google.com to DuckDuckGo.com is an exaggeration. I don't think people should redirect MSN to CNN; that's just confusing.

I think it's fine to redirect amazon.co, amazo.com, amazn.com to amazon.com. Could a unique site named "amazn.com" exist? Yes, but I would prefer it to go where I expected. Similar/typo URLs are often related to malware (but not always).

I seem to remember localhost.com had a landing page telling users "You mean to go to localhost".

But yeah, don't use this if you're afraid to redirect your own hosts. If you're like me and want to type "HackerNews.com" because you prefer it landing here.. then use the script.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: