How To Modify Hosts File In Mac

When you use macOS, sometimes you may need to modify ip domain mapping in hosts file. This article will tell you where is the hosts file and how to modify it in macOS.