All rights reserved. Goes right to my local apache2.4 here with FireFox on win 7. –Eliptical View Jan 26 '14 at 2:40 add a comment| 7 Answers 7 active oldest votes up vote 5 Yes, as I had already explained, adding www.google.com, works to block it. Gaebler Ventures. Check This Out
As an example I was using 123.012.012.123 which did not work. It isn't. Delete hosts. As a test, I decided to make Google point to 127.0.0.1. # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by http://serverfault.com/questions/452268/hosts-file-ignored-how-to-troubleshoot
I am not all that interested in trying to tear it apart really. #24 imagoon, Jul 5, 2011 VirtualLarry Lifer Joined: Aug 25, 2001 Messages: 34,291 Likes Received: 160 imagoon, Notepad++ will also show special characters (View -> Show Symbol) so you can easily inspect the number and kind of whitespace characters. Open Windows Explorer as Administrator DELETE the hosts file Open notepad as Administrator and create a new hosts file Start from scratch and add entries. Turns out that I was adding preceding zeros to the ip address so they were nicely formatted (ie. 192.168.12.34 was written as 192.168.012.034).
I've been baffled by this problem for years. Thank you Thank you Thank you Thank you Thank you !!!!! –user228087 Jun 26 '14 at 14:13 OMG!!! In the hosts Properties window, click on the Security tab. Windows 10 Hosts File Ignored It might try ipv6.
No need for IPCONFIG /flushdns, or a reboot.Click to expand... make sure that any changes to the 'hosts' file gets saved on your system as just that: not with an extension like '.txt' et cetera. in the registry block, supra, you will find the 3 prioritized keys (4 if you foolishly use netbios) that affect windows nameserving. My solution was: copy the content of the fileopen an editor and paste the content in an new filesave it on the desktop as hosts file (without any extension)Move it to
Blocking www.google.com worked entirely as expected. Windows 10 Ignores Hosts File Marked as answer by dharmil007 Monday, March 01, 2010 3:19 AM Sunday, February 28, 2010 12:10 PM Reply | Quote 0 Sign in to vote An easy way to block sites I tried everything in this and many other threads with no luck. I thought it was automatic, as long as the app uses Windows' built-in DNS resolution APIs, that the system DNS service respected the HOSTS file.
How could Weyoun be present during signing of peace treaty? see it here Windows 7 Browsers Loosing Connection and D/L's are Slow! Hosts File Not Working Windows 10 i DiD the same, & then restarted the PC also. Hosts File Changes Not Taking Effect This point may have been the last of the basics but it's the top one in my view.
it says no data what solved Browsers not running on Windows 7 solved Browsers crashing in Windows 7 and 8 solved Windows 7 problems with internet browsers Windows 7 - Browsers his comment is here and it goes right to it.It's... share|improve this answer answered Oct 19 at 12:40 Gerben Rampaart 1011 1 Notepad++ displays the line ending type in its status bar, by the way. If you copied and pasted hosts entries from somewhere, you may end up with multiple spaces. Hosts File Not Working Linux
In our case, we used notepad++ to edit the hosts file and couldn't figure out why none of the entries worked. I then made a Windows7 partition on the same machine, with the same entries in the hosts file. un-check the two (2) items that end in 'IPv6)' and 'IPv4)' by clicking on the check box. http://swusf.org/hosts-file/hosts-file-windows-8-not-working.html share|improve this answer answered May 6 '15 at 7:20 user287479 1 add a comment| up vote 0 down vote On my case the issue was that I was copying a hosts
Your cache administrator is webmaster. Browser Ignoring Hosts File So an entry for this domain 127.0.0.1 googleleadservices.com does not affect the lookup of sub entries such as www.googleleadservices.com . share|improve this answer answered Feb 16 '15 at 21:00 Bird on the Hand 112 add a comment| up vote 1 down vote I was experiencing the same issue, hosts file entries
Blocking www.google.com worked entirely as expected. That is not how it is working. Your mileage may vary.Close your browser(s)Open a Command Prompt (Run as Administrator or this won't work)cd \Windows\System32\drivers\etc --go to the directory where the hosts file livesattrib -R hosts --just in case Chrome Ignoring Hosts File When i searched on net it was written as to edit hosts file & in the end of it put it like this 127.0.0.1 orkut.com 127.0.0.1 facebook.com So it will block
Left by Arek on Aug 30, 2012 12:04 PM # re: Beware of spacing in Windows7 hosts file After trying many different suggested solutions, I checked the security on the ‘etc’ Armistice Day Challenge What is a positive descriptor for someone that doesn't care about anything/is always neutral? It seems in win7 ipconfig /flushdns no longer includes the HOSTS file. navigate here My entries are entered there correctly.
Then add your exceptions to the Exceptions text box. There may also be advanced settings in the browser that you need to change. Tuesday, May 06, 2014 6:04 PM Reply | Quote 0 Sign in to vote After trying all of the proposals here, I can add my specific case: I WAS USING THE Simply editing and added entries like XP, does not work. #9 VirtualLarry, Jul 5, 2011 Last edited: Jul 5, 2011 imagoon Diamond Member Joined: Feb 19, 2003 Messages: 5,199 Likes
because some firewall may lock the hostfile –camino Jul 24 '13 at 20:18 There is DrWeb Firewall that blocks changing the hosts, but I turned that lock off and pics.bbzzdd.com is not accepting uploads at the moment otherwise I have a step by step showing you why you are wrong. Proposed as answer by Jan Coppens Monday, January 19, 2015 2:41 PM Thursday, February 21, 2013 12:59 AM Reply | Quote 1 Sign in to vote A SOLUTION FOR WINDOWS, MAC, I don't quite understand, if they are resolving to 127.0.0.1, then why would I see the browser sit there resolving those domains, for several seconds at a time?
this will disable them when you click 'OK'. Hope that works for you if you are experiencing Windows 7 Hosts file problems and are looking for Windows 7 Hosts file troubleshooting tips! You are either being disingenious, or you don't want to admit the truth.Click to expand... Also programs are not *required* to use HOSTS.Click to expand...
I changed the Hosts File, using an administartor privilage. & added that 2 lines at the end of the file. No proxy is set. God I'm glad I use Linux mostly... tell me.
this is quite true, but the solution is quite simple. it took a bit of finding, so I hope this saves somebody some time!