I intend to purchase a domain, say for instance muppets.org, for my web server and I would like to install Postfix on the same machine for sending transactional emails.
Am I expected to set as hostname for my system muppets.org, or I can use as hostname kermit, so that my FQDN can be kermit.muppets.org?
According to Digital Ocean's documentation on Postfix, my server's hostname should match my domain, muppets.org: is that necessary or instead I can use as hostname kermit and edit /etc/hosts as follows?
127.0.0.1 localhost.localdomain localhost
127.0.1.1 kermit.muppets.org kermit
198.51.100.3 kermit.muppets.org kermit