Under section 5 "5 Configure The Network" after editing the hosts file: Then edit /etc/hosts. Make it look like this: vi /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.0.100 server1.example.com server1 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts Now run echo server1.example.com > /etc/hostname and reboot the system: shutdown -r now When I run: Afterwards, run hostname hostname -f Both should show server1.example.com. the second command's result is localhost.localdomain as opposed to the expected server1.example.com. Here is my host file at that point: 127.0.0.1 localhost.localdomain localhost server1.example.com 192.168.0.100 server1.example.com server1 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts