Linode Forum Index Linode Forum
Linode Community Forums
 


Setting the FQDN in Arch...am I missing something?

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
thump



Joined: 01 Sep 2011
Posts: 2

Posted: Thu Sep 01, 2011 1:37 pm    Post subject: Setting the FQDN in Arch...am I missing something?  

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?
Back to top  
mnordhoff



Joined: 03 May 2008
Posts: 451

Posted: Fri Sep 02, 2011 3:46 am    Post subject:  

Try removing "[myhostname]" from the 127.0.0.1 line. That's not normal, and I wonder if it could be causing this problem.

By the way, if 173.255.249.182 truly is your IP, its reverse DNS entry is "hologrammar.net.". You should change it to "[myhostname].hologrammar.net.".
Back to top  
thump



Joined: 01 Sep 2011
Posts: 2

Posted: Fri Sep 02, 2011 12:04 pm    Post subject:  

HA! yeah, that did it. thanks much!
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1