Question

Hostname error.

Posted February 2, 2013 3k views
"Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" I am getting the above error when trying to start Apache, for the server name i have my ip,domain. Is this the correct format?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers
It's not a critical error, but I strongly suggest you set the name you picked when you created the droplet as hostname on the server. It's recommended to use the fqdn format.

For an example how to do this on Linux: http://www.howtoforge.com/perfect-server-debian-squeeze-debian-6.0-with-bind-dovecot-and-nginx-ispconfig-3-p3
Unless you are running Apache with an nginx front-end you will want to update the IP in your virtual host to match your public IP as well.
If I'm running nginx front-end and I also get this message, what should I do ?
Submit an Answer