How to block a website in windows
How to block a website in windows:
Hi friends today I will tell you how to block any website on your computer.
I f you want to block certain websites on your computer you can block those websites by making little changes in windows “Hosts” file.
What is Hosts File?
Host file is a system file used by the operating system to map host names to IP addresses.
How it works?
Web browsers will check the DNS entry in the Host file on your computer before opening any website. Iif DNS entry is not found for specific website, then it will go to Internet service provider to get IP address of website. Enter any website entry that you want to block in your host file with wrong IP address, then while loading that website web browsers try to load with a wrong IP address.
Follow the below steps to block any website in your computer.
Step 1: Open your hosts file with notepad (Go to run and type notepad C:\Windows\System32\drivers\etc\hosts and hit enter.
Ex : if you want to block youtube on your computer add
In your hosts file.
Thank you for visiting how2doit.in. If you find any mistakes help us by leaving a comment.