Host File is Getting Ignored from the Windows Machine. (DNS is getting redirected)
When you are testing a website and you experience Chrome redirecting you to https or ignoring the Host File, the solution is below:
Go to your Chrome Browser and paste int the code below:
chrome://net-internals/#hsts
- Then navigate to where it says Delete domain security policies and put/ type the website that is getting redirected and then hit Delete.
- This will delete the policy Chrome has installed your machine about the DNS
- After the policy is deleted, then Clear the Cache from the Chrome Browser.
Write an Article