Settings

Theme

Ask HN: How to block a specific website only at home

2 points by tai_hn 4 years ago · 4 comments · 1 min read


I want to block YouTube only at home. What’s the best way to pull this off? Any useful tools?

recrudesce 4 years 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 4 years ago

Setup a pi-hole: https://pi-hole.net/

Although doing that for just one domain is overkill.

slater 4 years ago

Figure out how to log in to your home router, block it there.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection