answersLogoWhite

0

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

User Avatar

Wiki User

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
ReneRene
Change my mind. I dare you.
Chat with Rene
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach

Add your answer:

Earn +20 pts
Q: How can you edit a host file on a mac?
Write your answer...
Submit
Still have questions?
magnify glass
imp