Block a website

Block a website (e.g.: orf.at) in a way that it is not accessible from any web-browser or other internet-enabled software programm installed on your computer.
1 answer

Make a host entry

This is a very simple but effect full solution.

Simply open your hosts file (for Unix-like systems typically at: /etc/hosts) and make the following entry at the end of the file:
127.0.0.1 orf.at

This will tell the system to resolve every request to orf.at to your localhost. Thus this website will be system wide not available for any program. Please keep in mind that there could be also some other urls pointing to this site which therefore also have to be blocked.

Taggings: