Block or Unblock websites on Computer

Dear readers , Here is a simple technique to block or unblock any website on your system:

Precondition is that you must know the IP address of the website on your system

  • Go to Start and then Run.
  • Type in this C:\WINDOWS\system32\drivers\etc
  • Now you will see file name Host open that in Notepad.
  • Below “ local host” add IP address of site to be blocked.
  • To unblock any site just reversed the process.
  •  NOTE: For each site you block just add “1” to the IP (

      EXAMPLE local host    (This will block Facebook)
Hope this will be useful in one or the other case.