Hidden in the depths of the operating systems there lies a Hosts file. This Hosts file maps hostnames to IP addresses so can be used to redirect a website url and even block it.
Location of the Hosts file:

Windows NT/2000/XP/2003/Vista: %SystemRoot%\system32\drivers\etc\ is the default location, which may be changed. The actual directory is determined by the [...]