Updating windows hosts file
To block a website using the Hosts File, simply add the following entry: 127.0.0.1 Although I do not do it, many users like to manually add entries to it in order to block opening of one or more particular websites.
Yet other like to download and use List from well-know sources like While you can always manually manage or edit Hosts file manually, I would like to suggest that you use a third-party freeware tool like Hosts Man to do it.
It is basically a plain text file and the size of the original default Hosts file is around 824 bytes.
and seeing a completely different web site load in your browser.
Unlike remote DNS resolvers, the hosts file is under the direct control of the local computer's administrator.
The hosts file contains lines of text consisting of an IP address in the first text field followed by one or more host names.
Much better than if it takes more than 60 seconds to re-setup your workflow.
As @Ferruccio said, Hosts changes should be immediate in Windows.
While Domain Name System – or DNS – is mostly used for this function (being a centralized and half-automatically managed name resolution system), the HOSTS file can be used as a local name resolution mechanism, and when used in conjunction with other name resolution mechanisms such as DNS, the HOSTS file takes precedence over them.
This is why many users still edit the HOSTS file and add names and IP addresses of servers, websites and other computers they frequently access to it.
In Microsoft operating systems, the HOSTS file is located in the following location: Note: We also have tutorial articles on how to edit a hosts file in Windows 8, edit a hosts file in Windows 7 and on a mobile device running Windows RT.
In modern operating systems, the hosts file remains an alternative name resolution mechanism, configurable often as part of facilities such as the Name Service Switch as either the primary method or as a fallback method.
The hosts file is one of several system facilities that assists in addressing network nodes in a computer network.
Malware can redirect Web addresses on your computer by altering your hosts file. To prevent Host file hijacks, you may navigate to it, right-click on it, select Properties and make it a Read only file.