where is hosts file in windows code example
Example 1: windows hosts file location
Hosts file location:
C:\Windows\System32\Drivers\Etc\hosts
Example 2: windows domain add hosts file
Go to c:\Windows\System32\drivers\etc and double click on hosts.
add IP address, press <tab> domain name and save it.