Edit The Mac Hosts File

The Mac’s hosts file is a text file that is used to map hostnames to IP addresses. The Mac hosts file is effective for overriding DNS server instructions, allowing you to manually point a website addresses to a particular IP address and prevent anyone from access to a site just by pointing to an unused or internal IP address. Brilliant. So here’s how to edit the Mac hosts file on Yosemite OS X.

 

%d bloggers like this: