answersLogoWhite

0


Best Answer

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

15y ago
This answer is:
User Avatar

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
Related questions

Is a PowerPoint file compatible with a Mac?

You Can Use openOffice or libreoffice open or edit powerpoint files on Mac


How can you edit a painting in Minecraft on a Mac?

Navigate to and extract your 'minecraft.jar', go to art and edit the 'kz.png' file. Save it and recompress the minecraft.jar


How do you open a pub document on Mac OS X?

You can't exactly edit pub files on a Mac, but you can convert the file to PDF.


How do you undo on a Mac?

to undo on a mac computer, you have to go to edit and press undo. or go to file and press undo. forgot which one.


How do you change a web archive file to an HTML file?

user your mac to edit webarchive files.. and for windows user, poor you guys


If you uninstall Spore on your Mac will your save file be deleted?

Yes Edit: the save file will be deleted, but you can keep your creatures. In that case when you re-install it, you will still have your creatures.


Can you edit a layer in photoshop after a file has been converted?

After file is converted to what? What you mean by file is converted? If you have file saved in format that supports layers you can edit it.


How do you set Mac OS x's ssh daemon to run on a different port?

Edit the sshd_config file. There is a line that looks like Port 22 Change it to whatever you want. Then restart the daemon. Note: You probably don't have permission to edit this file so you will have to sudo in. sudo emacs /etc/sshd_config


How do you host boot with Mac?

cant host boot with a mac but you can emulize a PC and check out this website HostBooterz.com


How do you make a video then edit it then upload it onto YouTube i have a mac?

Create the video, then transfer it to your mac. Then open iMovie (already installed on all macs) go to file -> import video, then just browse to the video. You can then edit it to your liking. Then click share -> YouTube, then just enter your username and password and hit upload. Done!


How do you use a dll file with mac?

You can not run a DLLÊfile on a Mac computer because DLLÊis a Microsoft program. You have to find a Mac file that is the same version or find a file that will share the dll file in your library.


Does mac address change from host to host?

Yes, ofcourse