How To Block Specific Website On Your Computer
The world wide web is the deepest and biggest source of any and every kind of information. Whether you want to enhance your knowledge, keep yourself updated with current affairs or wants to hang out with your friends and much more all you need to dive into the world of the Internet.In this article you will learn how to block specific website on your computer.You may also like How to Record Your Screen With VLC Media Player On Windows.
Block A Website on Your PC
Blocking a website on the Windows operating system requires neither a tech geek nor any third-party payment software. You only need to make a few minor changes to the Windows host file to limit the Web site on your computer.
What is Host File?
The Windows host file is a simple text file located in the Windows folder and is used by Windows to map. These files are easy to remember from hostnames to complex digital IP addresses. According to Microsoft, a host file is one of multiple system resources that resolve network nodes in a computer network and is a common part of operating system IP implementation.
Therefore, using this host file and making some changes to it can block certain websites on your computer.
So, no further let’s take a look at the steps to use a Windows host file to block a website:
1.Open Run command box by pressing Windows + R and type in the following %windir%\system32\drivers\etc. You can also navigate to the following path C:\Windows\System32\drivers\etc.
2. Now double-click the hosts file in the etc folder.
3. Select Notepad from the list of programs to open the host file and click OK.
4. This will open the Windows host file in Notepad.
5. Now place the cursor at the end of the file and enter the website’s 127.0.0.1 address. As an example, if you want to block YouTube, please enter 127.0.0.1 www.youtube.com. Similarly, you can add as many websites as you can to prevent it. Once you have added the addresses of all the sites you want to block, then press Ctrl + S to save the hosts file.
6. Now test restart all open browsers. You will be surprised to find that all the sites you added to the hosts file are now blocked in all browsers.
Looking ahead, as long as you try to access these blocked websites, you will be redirected to the local computer address called the local host.