
Most people won't need to know how to edit the Host File on macOS. But if you're a power user then this skill becomes very useful.
It mainly comes into play if you are testing a development server. By editing the Host file, you can enter the IP address of the machine running the server and associate a domain name with it. Then, when you later make use of the domain name, your Mac will direct to the IP address you entered.