the right path on windows is WINDOWS\system32\drivers\etc\hosts