EN
Windows etc hosts location (etc/hosts)
1
points
Quick solution:
C:\Windows\System32\drivers\etc
hosts file.
Full path to hosts file on windows:
C:\Windows\System32\drivers\etc\hosts
Screenshot where we will Windows etc hosts file:
Windows etc hosts file edit
We can edit this file and add some IP to domain mapping.
Most popular:
127.0.0.1 localhost
::1 localhost
We can add some custom IP to domain mappings:
123.123.123.123 sub-domain.my-domain.com