Mac OS X 10.2 or later
Edit the /private/etc/hosts file.
For more information on how to use the hosts file, open Terminal and type: man hosts
Note: Editing this file requires root privileges.
I suggest typing while in Terminal
sudo nano /private/etc/hosts
It may be a good idea to flush the DNS Cache that is running by then typing the following after you save the hosts file
dscacheutil -flushcache
















