For details on how to use /etc/hosts on Mac OS X - see http://kb.doit.wisc.edu/middleware/page.php?id=4506