add domain to host file on windows code example
Example 1: hosts file path windows 10
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.