Improve productivity. Block websites.
Recently I’ve taken the sweeping step of preventing my computer from accessing specific websites. These site I have determined to be time-suckers, ones that I can simply live without. I don’t need to habitually check in on Facebook or on Instagram from my laptop, especially when I really should be working!
To do this I’ve done a quick hack to the hosts file. It is kind of like an internet address book for computers - it matching a web address with an IP address. Obviously it doesn’t contain a list of every web address, that’s where your Internet Service Provider (ISP) comes in, however the hosts file is where your computer looks first. If the address is found, then it doesn’t need to consult the ISP. So to block websites from my computer I’ve given the hosts file the wrong address!
For example, one time-sucking website is Facebook. I don’t need access to it from my laptop so I’ve told my host file that the IP address is 127.0.0.1, the address of my own computer, and magically the computer cannot find site.
Every operating system has a hosts file, and Wikipedia has a list of where it is on your hard drive. Open up the file in your preferred text editor (Notepad or TextEdit will work) and you’ll see a file like this:
At the end of this file add:
Save the file, reboot your machine and try to access the website.