How to Block Websites
Block a Website on Your PC 1. Open Windows Explorer and navigate to C:\Windows\System32\drivers\etc. If Windows is not installed on C:, substitute the appropriate drive letter. 2. Double-click hosts , and select Notepad when Windows prompts you to choose a program. If you don't get the prompt, or if the hosts file opens in another program, open Notepad ( Start, All Programs, Accessories, Notepad ), and then navigate to hosts by clicking File, Open within Notepad.