How to edit Windows hosts file (C:\Windows\System32\Drivers\Etc\hosts)?
Windows users have trouble saving plain TXT files without extensions on a Windows machine. For example, if you have to edit C:\Windows\System32\Drivers\Etc\hosts file and save it as a plain text file, Windows will automatically add a .txt file extension to the file and save it as hosts.txt. Also, Windows does not allow you to edit the file directly in the system folder such as the C:\Windows\System32\Drivers\Etc.