Updating lmhost file
To resolve this issue run Notepad, Word Pad, or your editor of choice as administrator.There are times when you may wish to test a web site you have designed before the actual domain name’s DNS (Domain Name System) entry is updated.In the above example, "localhost" and "example" are the Net BIOS names.When typing "example" in Internet Explorer the computer would attempt to resolve that name by accessing the IP address 18.104.22.168.DNS Explained Think of yourself placing a phone call to the 411 Operator.
In the above two lines, there is an IP address, the Net BIOS name, and the # remark for that line.On occasion you will need to edit the hosts file on your machine. hosts files would be massive documents used to aide the network name resolution.Sometimes because of an attack or prank, and others so that you can simply and freely control access to websites and network traffic. Microsoft kept the hosts file alive in Windows networking which is why it varies very little whether used in Windows, mac OS, or Linux.When tested it, Chrome did not use the hosts file in any operating system but we were able to block Facebook in Chrome by adding .Also, make sure to place and extra line after the last entry for the section.