How can you edit a host file on a mac?
Mac OS X has a simple file in hosts which is being consulted
prior to DNS, to add a "local", you can resolve or edit the file
with any simple text edit software, like textedit, pico or vi (make
sure you have root priv.) And add the Vip number and than the
hostname at the same line. Below is the default hosts file from my
system (10.5) Make sure not to change what's written in the file,
but only add to it. # Host Database # Localhost is used to
configure the loopback interface when the system is booting. Do not
change this entry. 127.0.0.1 localhost 255.255.255.255
broadcasthost : :: 1 localhost fe80::1%lo0 localhost