Looking for:
- windows - hosts file ignored, how to troubleshoot? - Server Fault- dns - Windows 10 hosts file not resolving any domains - Stack Overflow
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search. This is crazy, I've never has this issue until now I like windows 10 hosts file does not work free use the hosts file to block certain websites.
But for some reason my hosts file is not blocking any website. I went over this post Hosts File not working correctly and tried most if not all of those things but I'm still not able to use my hosts file to block websites. Anything else I can do to fix this? I've used hosts files for years and never had this issue. Note: I just got this PC refurbished so maybe they created some weird settings before shipping it? I wouldn't think so but figured I'd mention it.
If the ping does not work, then it is likely that the permissions on the hostfile are incorrect. Incorrect permissions on the hostfile may cause an arbitrary lock on the hostsfile which prevents windows from properly read it and populating the dns cache.
If the windows 10 hosts file does not work free works, but the website does not load correctly, then the website is still loading from cache. Clear your browsercache to fix the issue. Weird, there must have been something wrong with that particular hosts file, I still have no idea what it was EarlierI tried to copy and paste the host file content from the above URL but that didn't work.
Anyways, no more issues! You need to add your loopback address as primary DNS in order to be able to read from the host file. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Start collaborating and sharing organizational knowledge.
Create a free Team Why Teams? Learn more. My host file is not working on Windows 10 Ask Question. Asked 2 years, 6 months ago.
Modified 7 months ago. Viewed 24k times. Here is how I have my hosts file entries Improve this question. Please open powershell or CMD and type "ping website. Do you use GUI to open the file? I think it's possible перейти create a file with name that looks like hosts but different e.
The file is there to mislead you it's safe. The real hosts may be hidden and contain rogue entries. What if you open the file in a way that requires typing its legitimate full path? BTW, Windows 10 ignores the hosts file for specific locations: petri. Add a comment. Sorted by: Reset to default. Highest score default Date modified newest first Date created oldest first.
Just changing the hosts file is not enough. You also need to flush your DNS cache. Improve this windows 10 hosts file does not work free. The website loads fine in browser. So that means there's likely an issue with the permissions on the hostsfile.
You can try a reboot, but ensure that the permissions are not changed and set to inherit permissions from the folder its in. By default normal users can't edit the file and need administrative permissions. That confirms my answer. There was a permissions issue with the hostsfile. Porter Jane Porter Jane 1. Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is на этой странице. You can find more information on how to write windows 10 hosts file does not work free answers in the help center.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. C : IEnumerable, yield return, and lazy evaluation.
Featured on Meta. Announcing the arrival of Valued Associate Dalmarus. Testing new traffic management tool. Linked 4. Related 2. Hot Network Questions. Question feed. Accept all cookies Customize settings.
Comments
Post a Comment