1.3.2 Hosts file

You can edit your /etc/hosts file, which is the static lookup table for host names. By default, there are two entries for localhost which are OKAY. You can replace the ’localhost’ part of these entries to your hostname.

127.0.0.1  localhost.localdomain localhost
::1        localhost.localdomain localhost ip6-localhost