Windows 8 and 8.1 Forums

Block specific (sub)domains without editing hosts file

  1. #11

    If you point to Localhost or in hosts that should be all that's affected in that domain. Any other should be okay. Is this not what you experience?

      My System SpecsSystem Spec

  2. #12 should only be used for localhost.

    To block hostnames instead use

    Using will cause requests on the loopback interface and will need to timeout.
    If you run a webserver or a special proxy locally, you could run into trouble and potentially security problems. has far better performance, and no chance of something hosted locally slipping into a browser or causing other unintended harm.

    I also recommend setting a dummy hostname at the top of the hosts file for to something like "everywhere".

    Most tools that monitor network connections resolve through the hosts file, and when a process which is listening on all interfaces (most do) is listed in the tool, it will inaccurately report that the process is connected to the top most entry for
      My System SpecsSystem Spec

  3. #13

    @hydranix - the trick worked! Thank you so much for that!

    Now when I try to connect to e.g., it's no longer working, while with it somehow worked. This might have been some setting within corporate network / my machine config that was overwritting typical behavior when such settings are recorded.
      My System SpecsSystem Spec

Page 2 of 2 FirstFirst 12
Block specific (sub)domains without editing hosts file
Related Threads
Solved try to save the hosts file in General Support
Thanks for sharing these instructions, which I followed to the letter and added the "Take ownership". I use the new menu on the Windows/System32/drivers/etc folder. Notwithstanding, as I try to save the hosts file on Windows/System32/drivers/etc it responds "Denied access" and does not allow to...
Alright, so I've just encountered this problem today and it's inexplicably frustrating. I'm running Windows 8.1 x64 with only Bitdefender Total Security on. A day or so back I could edit and modify my hosts file perfectly. Today, it's just gone. There are 2 hosts.backup file in the...
I am getting error "Save failed - Please check if this file is opened in another program" when trying to edit the hosts file in Notepad++. This has only started happening after a fresh installation of Windows 8 on a new computer. My previous computer with Windows 8.1 was able to do it correctly...
Since I installed 8.1, my machine is running hot, 45c, but when I shut down one of the many Service Host:Local Service(s), it drops back down to 20c, where it was always with 8. I can manually shut it down each time.... but I's like to block it from starting in the first place. Shutting down...
Hi guys1 I'm about to create a .reg file that will set path in registry to my own icon for specific file extensions. E.g. I want my own icon as a default icon for .ini extension. And not only for one extension but for more of them, in a single .reg file. As always I don't want to mess it up,so I'm...
Changing Hosts File in General Support
I am trying to edit my host file, but the system is telling me that I need to be an administrator, when I am the administrator. I made an attachment in word with screen shot for you to see. Is there a solution for this problem? 25078
Ok so i need the IP Adress the Advertisements are hooking up to so i can block it in the "hosts" file. What IP are all Advertisements from Windows hooling up to so when i open an app i dont get Advertising about this app or that app or so. So my idea is to block it in the "hosts" file in the...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook