Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Sep 01, 2011 2:37 pm 
Offline
Newbie

Joined: Thu Sep 01, 2011 1:28 pm
Posts: 4
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?


Top
   
 Post subject:
PostPosted: Fri Sep 02, 2011 4:46 am 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 568
Website: http://www.mattnordhoff.com/
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.".

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
 Post subject:
PostPosted: Fri Sep 02, 2011 1:04 pm 
Offline
Newbie

Joined: Thu Sep 01, 2011 1:28 pm
Posts: 4
HA! yeah, that did it. thanks much!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group