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

    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 System SpecsSystem Spec

  2.    21 Aug 2015 #2
    Join Date : Mar 2015
    Posts : 191
    Windows 10 Pro (x64)

    Did you put in the subdomains too?


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

  3.    21 Aug 2015 #3
    Join Date : Aug 2015
    Posts : 4
    Windows 10 Enterprise x64

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

    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 System SpecsSystem Spec

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

    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 System SpecsSystem Spec


Similar Threads
Thread Forum
File explorer problem
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...
General Support
Problem copying file to desktop - System has file Open?
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...
General Support
DNS problem, trying to connect to my web sites
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...
Chillout Room
Solved Unity Mode Fix for W10 VMware VM's on Linux Hosts
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 09:56.
Find Us
Twitter Facebook Google+

Windows 10 Forums