Once done, open your preferred web browser, clear cache and now the website will be blocked throughout your system. You will have a pop-up asking for Administrator permissions, just continue with it. Move the file back to the “ C:\Windows\System32\drivers\etc” location.
#UE BOOM 2 APP FOR WINDOWS 10 HOW TO#
Read: How to Find Out What DNS Server Am I Using? Since my local system doesn’t have a web server running, I will end up with a “Website not reachable” error message. 127.0.0.1 This line ensures that whenever I enter on any browser on my local system, the connection will be redirected to my own IP Address. For example, if I want to block on my computer, I will attach the following line at the end of the file. For our use-case, in order to block a website, we need to enter the website name prefixed by “127.0.0.1” or “0.0.0.0”. This means the lines are commented and are of no significance. Now, the hosts file has several lines of code which are prefixed by a “#”. You will be presented with an editable format of the hosts file which looks like the following screenshot. Hence, you will see a pop-up asking you to choose an app to open the file. Since the hosts file doesn’t have an extension, Windows doesn’t know which software should be used to open it. You will need Administrator privileges for this activityĪfter you have moved the hosts file, double click on it. So, we’ll have to move it from the below-mentioned location to the Desktop.
Manually editing hosts file is tedious because you cannot directly edit the hosts file in its original location, if you did, you will get an error like ” you don’t have permission to save hosts file windows 10″. Just a heads up, If you are not comfortable with huge lines of code and the idea of editing configuration files, kindly skip to the next method. The conventional way is to manually edit the hosts file and here is how you do it. So generally, there are many ways to edit and create hosts files and many popular hosts file editor in Windows 10.