How to Fix Apache Configuration Error AH00558: Could not reliably determine the server's fully qualified domain name

Updated: 28 March, 2022 seen 1,567

Not the biggest Apache fan here, but today working on a server while setting up Apache as a reverse proxy for the JBoss application, after trying to restart the apache service I faced the following issue Apache Configuration Error AH00558: Could not reliably determine the server's fully qualified domain name.

Luckily, a quick Google helped to find the solution: 

Long story short (For Debian / Ubuntu)

sudo nano /etc/apache2/apache2.conf

Add a line containing ServerName 127.0.0.1 to the end of the file

about

Hi! My name is Reinis Fischer (38), a proud dad and devoted husband. CEO and Founder of Terramatris crypto hedge fund, drone enthusiast, world traveler, photographer, and passionate lover of Georgian cuisine (vegetarian).

An ex-pat living in Georgia since 2011, I trade stocks, take photographs, work out at the gym, and many more. Here I write about travel, finance, and other things that might interest me.