# Block websites
NOTE YOU CAN't SET THIS UP MID WORK DAY
Open DNS is also an option that works across wifi.
-Block Reddit via OpenDNS
## On [[Ubuntu]]
- Open terminal shortcut keys Ctrl + Alt + T.
- Type sudo gedit _/etc/hosts_ and type Ubuntu password.
- Then at the bottom of file. Type each website’s name you want to block like this:
127.0.0.1 www.facebook.com
127.0.0.1 www.youtube.com
127.0.0.1 www.reddit.com
127.0.0.1 news.google.com
Need to use one these for some basic research? I'd suggest you use a difficult computer.
## Related
- [[Ubuntu]]
- [[scrolling]]
- [[be productive]]