You need to restart Firefox for the modifications of hosts file to take effect (if you edited the hosts file while Firefox had been already opened).
browsercachednsfirefoxhostsresolution
This file is essentially the same as the UNIX hosts file:
C:\Windows\System32\Drivers\etc\hosts
configurationdnshostswindows