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