The Windows Hosts file is a file that Windows uses to control and map IP addresses. By editing the Hosts file, Windows can be customized to block or redirect specific websites and even protocols that are used by programs and applications.
Step 1: Click on Start and type in Notepad, right-click the Notepad Select the option Run as Administrator.

Step 2: With Notepad open, select File > Open.

Step 3: Then go to following path C:\Windows\System32\drivers\etc. You will get a blank screen that displays the prompt No items match your search. Change Text Documents (*.txt) to All Files using the drop down menu. Now, you can select the hosts file and click Open.

Step 4: Then you will get the Host file, Now you have edit it.

Step 5: Blocking a website in Windows is as simple as typing the following into the bottom of the hosts file, IP address and Domain name. and save the file

If any one try to access this website means they will got the below error message

Thank You…..!
No comments:
Post a Comment