The hosts file is located at c:\windows\system32\drivers\etc.īut you can’t edit the hosts file from there. That’s why you need to check the hosts file and see if there is any website IP or URLs present and delete them. Adding IP addresses and website URLs in hosts file to block them might cause some other websites to get blocked as well. Some of us use the Windows hosts file to block access to some of the websites.