Step 1: Open “C:\Windows\System32\drivers\etc” in the Windows search bar or navigate to the folder by clicking your way through Windows Explorer. Step 2 : Now after reaching to this path you will see a file named Host. Right click on that file and click on open with notepad. Step 3 : In Notepad, you will see several lines of text used for mapping purposes. Go to the last line of text (it should say something regarding a local host), now press enter to move the cursor to the end of the file then type “127.0.0.1″ (without codes) and press the space bar. Step 4 : Now, type the specified address of the website you wish to block on the same line. For example, type “127.0.0.1 www.facebook.com/ILoveHacking” , “127.0.0.1 www.hackerjaynagarit.blogspot.in” to block all these sites. Step 5 : Now Save this file and ignore if you receive any messages showing you warning about this modifications. Step 6 : Go to your browser and verify that the site you want to block isn't openin
(Ethical Hacker & Cyber Security Expert)