change localhost 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: host file windows 10
//The path to the hosts file folder (Windows)
%WINDIR%\System32\drivers\etc