/etc/hosts file is the basic and simple way to name
different machines on your network. Keep in mind that the definitions
you enter here are local to this machine and won't be shared with any
other machines on the network. This might mean potential problems, since
two machines may have incompatible
/etc/hosts files (because
of an operator error, for example).