1

Hostname and host file Best Practices


Avatar
Jordan

For deployments the hostname should be set in /etc/hosts on a separate line versus on the same like as 127.0.0.1 as per these pieces of information online which are considered best practices.

www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution

lists.debian.org/debian-boot/2005/06/msg00938.html

serverfault.com/questions/363095/why-does-my-hostname-appear-with-the-address-127-0-1-1-rather-than-127-0-0-1-in

A