Ask HN: How to block a specific website only at home 2 points by tai_hn 3y ago ↗ HN I want to block YouTube only at home. What’s the best way to pull this off? Any useful tools?
[–] slater 3y ago ↗ Figure out how to log in to your home router, block it there. [–] 88840-8855 3y ago ↗ That is the best solution.
[–] recrudesce 3y ago ↗ Network wide, or just for your own browser ?There are a number of addons for Chrome/Firefox etc that allow you to block sites, usually for staying focused during work hours.If you want to do it network wide, you could utilise something like a PiHole, but that's a bit extreme for blocking access to one site.The other option would be to put an entry in your hosts file for www.youtube.com etc and point them at 127.0.0.1.
[–] WallyFunk 3y ago ↗ Setup a pi-hole: https://pi-hole.net/Although doing that for just one domain is overkill.
4 comments
[ 4.6 ms ] story [ 22.0 ms ] threadThere are a number of addons for Chrome/Firefox etc that allow you to block sites, usually for staying focused during work hours.
If you want to do it network wide, you could utilise something like a PiHole, but that's a bit extreme for blocking access to one site.
The other option would be to put an entry in your hosts file for www.youtube.com etc and point them at 127.0.0.1.
Although doing that for just one domain is overkill.