Fix "Could not reliably determine the server's fully qualified domain name" when starting Apache server on Ubuntu
Using Apache 2 development environment on your Ubuntu machine most likely involves looking at "Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" message each time your machine boots. Here's how to make this irritating message disappear when starting Apache 2 server by specifying ServerName inside Apache 2 configuration files.
This error happens because your server doesn't have ServerName Apache 2 variable defined and reverse lookup on your IP address returns nothing. We can specify ServerName as 127.0.0.1 to make this message disappear. Just open your favorite terminal emulator and paste:
echo "ServerName 127.0.0.1" | sudo tee -a /etc/apache2/conf.d/server_name |
Now you can restart your apache 2 server:
sudo service apache2 restart |
You shouldn't have that message displayed ever again.

Its such as you learn my thoughts! You seem to grasp a lot about
this, like you wrote the e-book in it or something.
I think that you just can do with some % to power the message home a little bit, however other than that, that is fantastic blog. A fantastic read. I will certainly be back.
The other day, while I was at work, my sister stole my iPad and tested to see if it can
survive a forty foot drop, just so she can be a youtube sensation.
My apple ipad is now broken and she has 83 views. I know this
is entirely off topic but I had to share it with someone!
Hi there, all is going fine here and ofcourse every one is sharing facts, that’s actually excellent, keep up writing.
THANK YOU SO MUCH! I’ve been looking for hours and this solved everything
Heya i’m for the first time here. I came across this board and I to find It truly helpful & it helped me out much. I am hoping to provide something back and help others like you helped me.
It is the best time to make some plans for the future and
it is time to be happy. I’ve read this post and if I could I desire to suggest you few interesting things or tips. Perhaps you can write next articles referring to this article. I want to read even more things about it!
There is certainly a lot to find out about this issue.
I love all the points you made.