hosts file location in code example Example: host file location //windows host file location C:\Windows\System32\drivers\etc\hosts