add to hosts file windows 10 code example
Example 1: where is the hosts file in windows 10
Windows 10 and Windows 8 = 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.