File location
c:\Windows\System32\Drivers\etc\hosts
Add IP and host name binding as below:
64.49.219.194 www.domain.com
64.49.219.194 domain.com
Use # sign to comment, eg.
64.49.219.194 domain.com
reference: https://support.rackspace.com/how-to/modify-your-hosts-file/