
Now open a Web browser to test the changes.
#HOSTS FILE EDITOR FOR MAC PASSWORD#
Choose “Replace” and then enter the administrative user password to authenticate the transfer. If the Finder window is closed, use the Finder > Go > Go to Folder command, to reopen it.Īfter the hosts file has been dropped to its original location, OS X will ask you what to do about the unmodified hosts file that’s already there. Then, drag and drop the hosts file from your Desktop back to its original location at /private/etc.

Open Terminal and type the following command, replacing “with the website of your choice: ping After the changes have been made to the host files on Mac, save it in its current location on the Desktop. Another method is to type the IP address of a valid site instead of 0.0.0.0. To find a website’s IP address, you can “ping” the site via Terminal.
