Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 09, 2014 11:19 pm 
Offline
Newbie

Joined: Thu Jan 09, 2014 11:08 pm
Posts: 3
I get the standard, "Could not reliably determine determine...server's domain name, using 127.0.1.1 for ServerName."

I edited the httpd.conf file to read,"ServerName localhost" and rebooted. But I still get "127.0.1.1" for ServerName.

What am I missing? And thanks!

rail


Top
   
PostPosted: Fri Jan 10, 2014 8:59 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
I'm not sure what you're trying to accomplish. Based on the minimal info you provided I'd say you should be using 127.0.0.1 (which is the localhost).

Have you edited your hosts file?


Top
   
PostPosted: Fri Jan 10, 2014 10:17 am 
Offline
Newbie

Joined: Thu Jan 09, 2014 11:08 pm
Posts: 3
Yes, I've edited the hosts file.

What I'm trying to do is determine the client IP addresses of those who visit my site. Every visitor in the access log shows up as "127.0.1.1", even those clients who have different IP addresses.

I'm new to Apache2 and servers in general. The server is working well with no problems, except for its inability to identify outside clients. I assume it's a configuration issue on my end, but I don't know what it is.

Thanks!


Top
   
PostPosted: Fri Jan 10, 2014 10:32 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
Have you read this?
http://askubuntu.com/questions/256013/c ... omain-name


Top
   
PostPosted: Fri Jan 10, 2014 2:10 pm 
Offline
Newbie

Joined: Thu Jan 09, 2014 11:08 pm
Posts: 3
The editing of my hosts file was slightly off. Now, I get the right localhost IP address on boot. Presumably,this means that outside IP addresses will now show up in the access log. We shall see.

Thanks, everyone.


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


Who is online

Users browsing this forum: No registered users and 3 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