This Windows Host file is responsible for providing this mapping function. Slight modifications made to this file can help you block the particular website. Well, now let us start discussing the process. Also read: – How to restrict PC usage time for an account on Windows 10. STEPS TO BLOCK WEBSITES BY MODIFYING WINDOWS HOST FILE
Another common usage of HOSTS file is to block websites including advertisements and web trackings by mapping it to a localhost which is 127.0.0.1 or to a non-routable 0.0.0.0 IP address. Other than using the HOSTS file for good purposes, some malware uses it to block the infected computers from accessing security based websites. Jun 14, 2020 · You can use a modified HOSTS file to block ads, banners, 3rd party Cookies, 3rd party page counters, web bugs, and even most hijackers and possibly unwanted programs. This is accomplished by blocking the connection(s) that supplies these little gems. This Windows Host file is responsible for providing this mapping function. Slight modifications made to this file can help you block the particular website. Well, now let us start discussing the process. Also read: – How to restrict PC usage time for an account on Windows 10. STEPS TO BLOCK WEBSITES BY MODIFYING WINDOWS HOST FILE Feb 14, 2012 · Want to block all users of a Windows PC from opening certain websites, regardless of the browser they use or the time of day? You need only make a few simple additions to the Windows hosts file.
Sep 19, 2019 · Step Two – Add Sites which you want to block. Next, you need to type links of the sites which you want to block from opening in the Edge browser. Suppose, you want to block Facebook and YouTube, then here is how you need to type it: Note: Before editing the host’s file it is very important to make a backup of the file.
Click the Block this site button. or. Click the BlockSite extension icon, then click the gear icon at the top-right of the BlockSite pop-up window. On the Block Sites configuration page, enter the web address for the website you want to block in the Enter a web address text field.
# block twitter 127.0.0.1 twitter.com 127.0.0.1 www.twitter.com; Paste the text into the Hosts file after 127.0.0.1 localhost. Save and close the Hosts file. If Notepad does not allow saving the file without an extension, save it as suggested. Then rename the file in Windows Explorer to delete the extension and replace the existing file with yours.
Jul 12, 2014 · Note: For those who are using Linux, check out the guide here for using the Hosts file in Linux. Block Websites Using Windows Hosts File. Windows Hosts file can easily be edited using any text editor, e.g. you can use your native Windows text editor Notepad. So let us get started. 1. First off, open your Notepad as an administrator. Editing the file Edit. You shouldn't need to remove anything from the file so if you don't know what you are doing don't remove or change any of the line. Simply add the new lines below. Make sure 127.0.0.1 localhost is the first line on the file. Its OK to have blank lines of commented lines before it. Comments are indicated by a '#' To block a specific website (for example, facebook.com), open the hosts file (with the administrator privileges) and add the strings like these to it: 127.0.0.1 facebook.com 127.0.0.1 www.facebook.com Jul 15, 2013 · copy the hosts file to your desktop (C:WindowsSystem32driversetc) remove or comment out using "#" the entry corresponding to Youtube. copy and overwrite the hosts file back to the original location. restart your computer to make sure all DNS caches are gone To unblock a site, just open the host’s file again and erase the lines that you included. Ensure you save your progressions in the wake of removing the lines you included or the locales will, in any case, be blocked. How To Send Large Files For Free? Technique 3: How to Block a Website On iPhone and iPad Web Browser . Open your iPhone’s