25 August 2016

How to Block Websites in Windows (No Programs Needed)

How to block websites in Windows without using third-party programs:
  1. Open the Start menu.
  2. Search for Notepad.
  3. Right-click and select Run as administrator.
  4. File > Open...
  5. Navigate to C:\Windows\System32\drivers\etc\.
  6. Switch the file type to All Files (*.*).
  7. Open the file called hosts.
  8. Begin a new line below the '#' section. Start the line with: 127.0.0.1
  9. Add one space and then type the domain without http:// or www. For example: website.com
  10. The final entry should look like this: 127.0.0.1 website.com
  11. Save the file.
  12. Open a web browser and go to the blocked website. It should display a connection error and therefore be "blocked". 
Video: https://www.youtube.com/watch?v=hnWArDxWSC8