HOSTS File Locations. In Windows, the HOSTS file is in the \windows\system32\drivers\etc folder. In the Mac, it is in /private/etc. The first line of a HOSTS file contains the following. See
What's a hosts file anyway? Back in the early days of the internet, before it was widespread, computers used a hosts file to map long, hard to remember IP addresses with much shorter, easier to remember hostnames. For example, here's a line you'll find in many hosts files on Windows, Linux, and macOs: 127.0.0.1 localhost
The hosts file is an elementary tool of a network protocol and converts host names into numeric IP addresses. The network can only work with these addresses. The hosts file is created in all common operating systems for PC, Mac, and mobile devices, and can be changed by system administrators. The HOSTS file is a text file that contains IP addresses separated by at least once space and then a domain name, with each entry on its own line. For example, imaging that we wanted to make RfD9Fit. 195 370 230 190 350 299 225 433 41

what is a host file