Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Trance

macrumors 6502
Original poster
Feb 27, 2011
256
0
To install an app i have to add a host to my sudo nano /private/etc/hosts.

Could this possibly harm my mbp?
I could always remove it right?
 
LOL... not installing pirated software, eh..? :D

Your /etc/hosts file is the file your Mac will look first to lookup a DNS name to hook the IP address to.

You can take a look at it by typing:
"more /etc/hosts"

##
# 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
________________________________________

Might be a good idea to make a backup of the file first:
"sudo cp /etc/hosts /etc/hosts.old"

Good luck!
 
Last edited:
LOL... not installing pirated software, eh..? :D

Your /etc/hosts file is the file your Mac will look first to lookup a DNS name to hook the IP address to.

You can take a look at it by typing:
"more /etc/hosts"

##
# 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
________________________________________

Might be a good idea to make a backup of the file first:
"sudo cp /etc/hosts /etc/hosts.old"

Good luck!
thank you, i already changed it before making a backup :(

is this the original for lion


##
# 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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.