Windows 10: Problem with blocking sites with hosts file

  1. Posts : 4
    Windows 10 Enterprise x64
       21 Aug 2015 #1

    Problem with blocking sites with hosts file


    I tried to block some sites in that way but although I cleared DNS cache (ipconfig /flushdns) ater editing the hosts file, I'm still able to access those sites. Googled about it but seems everything has done Ok and wonder why I can't use this method.

    I tested on Windows 10 Enterprise x64.
      My ComputerSystem Spec

  2.    21 Aug 2015 #2

    Did you put in the subdomains too?

    You need an entry for every variation and subdomain that the site is accessible under.
      My ComputerSystem Spec

  3. Posts : 4
    Windows 10 Enterprise x64
    Thread Starter
       21 Aug 2015 #3

    Well, I have found that if I use domain in the following format (without any space), the work is done:
    w w

    And I was able to block google for example but why I can't block facebook?!
    Last edited by J4NY4R; 21 Aug 2015 at 07:45.
      My ComputerSystem Spec

  4. Posts : 4
    Windows 10 Enterprise x64
    Thread Starter
       21 Aug 2015 #4

    After some tests just understood that using proxy makes hosts file useless. And that's why I was able to access facebook although I had blocked it by hosts file. Is there any permanent way to block sites with hosts file and using proxy simultanously?
      My ComputerSystem Spec


Related Threads
File explorer problem in General Support
Hello forum, i am new to this site so nice to meet you all. Since my installation of windows 10, i had some problems with the file explorer option. When you click on 'start' and you see file explorer and decide to click on that, i expected it...
I'm trying to copy a ripped movie file (iso) from my G drive to desktop. The file is 45GB. It gets to 99% then a message comes up saying the process can't complete because the System has the file open. I have nothing running and can't find anything...
My web host changed servers last week, We know there are DNS problems. Sometimes I can connect to one of my sub-domains. But none of the rest of them with the chage which took place 4 days ago. I have a shared IP address for my domain. I can...
Hi there This seems to work fine for Windows 10 VM's on some Linux Hosts. 1) Uninstall VMware tools on the VM - shut down but don't re-power on 2) uninstall open-vm-tools on your HOST machine - typically as root or sudo yum autoremove...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 08:22.
Find Us