|
hey all. i'm following the "Set up a LEMP Server on Arch Linux" howto, and there's something that doesn't sit particularly well with me regarding the hostname...i've followed the directions for setting up the hostname, as well as my DNS and some other basic configuration, and everything appears to be working ( i can ping in, i can ping out, whois points to my vps ip, i'm getting into my server via ssh with both my ip addy and my domain name, etc.), with the exception of one quibble: in the guide, it says (following the "Set the Hostname" section) that,
(regarding the commands "hostname" and "hostname -f")
"The first command should show your short hostname, and the second should show your fully qualified domain name (FQDN)."
and indeed, when i type "hostname", my server responds with "[myhostname]". however, when i type "hostname -f", i get "localhost.localdomain".
the contents of /etc/hosts:
127.0.0.1 localhost.localdomain localhost [myhostname]
173.255.249.182 [myhostname].[mydomainname].net [myhostname]
i'm having a hard time figuring out where to start looking for my mistakes, whatever they may be. any thoughts?
|