Monday, March 26, 2018

How to block a website using hosts file?

# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
127.0.0.1 www.chess.com
127.0.0.1 chess.com

Whenever i open chess.com it opens that website.
I want to block it.

What is the right way to block that domain?
How to block any other domain?
I have done this before. But it is not working recently.

windows/system32/drivers/etc/hosts (without any extension)
I dont have any hosts.txt file there.


from Windows Central Forums https://ift.tt/2GftCTS
via IFTTT

No comments:

Post a Comment