apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Everytime I start apache2 (# apache2ctl start) this message is dispalyed:

apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

Well, the site is still running despite the above notification.

To fix it, we need to edit the /etc/apache2/httpd.conf or /etc/apache2.conf and add the following line:

ServerName nameofserver

Now, restart the apache server (# apache2ctrl restart) and should no loger see the previous message.

About these ads
Tagged ,

11 thoughts on “apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

  1. Thanks much. I was kind of annoyed of this message. You guide did the trick. I added localhost as my ServerName and it did worked.

    Andrew

  2. carlos says:

    had the same problem and it worked thanks, also i used pico to edit

  3. kenno says:

    Glad this post is helpful. You may use any editor: pico, nano, vi, emacs,…etc.

  4. [...] from: http://kenno.wordpress.com/2009/02/10/apache2-could-not-reliably-determine-the-server%E2%80%99s-full… This entry was posted in Debian. Bookmark the permalink. Follow any comments here with the RSS [...]

  5. krishnachai says:

    i had the same problem and it worked thanks,
    thak you very much.

  6. James says:

    Thanks. I had same problem and your post fixed it for me.

  7. Thank you so much, I was annoyed with this message though my server was running fine. Thanks!

  8. Jozsef says:

    Thanks!

  9. ramkumar says:

    Good morning guys, I am facing problem on RedHat Linux, we have baught IBM 3850x machine installed RedHat Linux 5.6 then installed oracle software …. nothing to do with oracle … i have problem causing in root … session frezing ,,, you any one can help me … time to time we have this problem … session freezning ..

  10. andrey says:

    спасиБО!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: