Editing httpd.conf file to detect server domain name
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
4 Replies
Have you edited your 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!
Thanks, everyone.