Hostname error.

Posted February 2, 2013 3.2k views
"Could not reliably determine the server's fully qualified domain name, using 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.

Submit an Answer
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:
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 ?