This is a topic that often confused me when I first began experimenting with web and email server configuration. So, here is an insanely quick guide to the fully qualified domain name (FQDN):
A FQDN uniquely identifies a single device using DNS. Where the domain zone "example.com" may refer to any number of frontend web servers, "phantom.example.com" would refer to the server named "phantom" on the example.com domain. FQDNs are important because they unambiguously point to a single server by name. Web and (especially) email servers often rely heavily on a properly-configured FQDN.
- Given your server a hostname
- Configured an A and/or AAAA DNS records that points phantom.example.com to the server's IP address (replace "phantom" and "example.com" with your information, of course!)
- Configured your server's
/etc/hostsfile to reflect the FQDN:
IP address FQDN server's name 22.214.171.124 phantom.example.com phantom
That's FQDN in a nutshell! Not too bad, right?
This written work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.