![]() For example, it makes a difference if you use as opposed to without the You should always try without the www first to see if that works. The hosts file uses the format: IP Address Block Websites using HOSTS Fileīlocking a website in Windows is as simple as typing the following into the bottom of the hosts file: 127.0.0.1 So, if I wanted to block a website like I could just add the following line: 127.0.0.1 Now when I visit I get redirect to ! Nice! Note that if this doesn’t work for the websites you are entering, it could be because of the URL you are using. Now, you can select the hosts file and click Open.Īdding files to the hosts file is very simple. Change Text Documents (*.txt) to All Files using the drop down menu. ![]() You will get a blank screen that displays the prompt No items match your search. Navigate to C:\Windows\System32\drivers\etc. Rather, right-click the Notepad listing to bring up the context menu. ![]() In order to edit the file, you have to open Notepad first, running as an Administrator.Ĭlick on Start and type in Notepad, but don’t click on Notepad to open it. This way of opening the hosts file was demonstrated to show where the hosts file is actually located within Windows, but you won’t be able to edit it because it’s a system file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |