How to edit the hosts file easily on Mac


The hosts file is a file containing IP addresses, used to redirect a domain name to a specific IP, especially useful for accessing blocked websites in Vietnam. Previously, to edit this file, you needed permission

administrator to access the file in the /etc directory through Terminal. Today MacLife will introduce to you a great tool to help you edit this file right at System Preferences.

First, download the file below to your computer and do it

This program works with most versions of Mac OS X, including Mac OS X 10.6.8, 10.7+, and OS X 10.8 Mountain Lion.

After downloading the .pkg file to your computer, double-click the file to perform the installation. Once installed, an icon will appear in System Preferences. Click here to open the application and start customizing the hosts file.

If after you change it does not take effect, open Terminal and enter the following command to clear the dns cache.

dscacheutil -flushcache
Share

You may also like...

Leave a Reply

Your email address will not be published.