https://en.wikipedia.org/wiki/Hosts_%28file%29
Operating System | Version(s) | Location |
---|---|---|
Unix, Unix-like, POSIX | /etc/hosts[3] | |
Microsoft Windows | 3.1 | %WinDir%\HOSTS |
95, 98, ME | %WinDir%\hosts[4] | |
NT, 2000, XP,[5] 2003, Vista, 2008, 7, 2012, 8, 10 | %SystemRoot%\System32\drivers\etc\hosts[6] |