• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Notes to Self

  • Aviation Weather from NOAA Plugin
    • KZZV
    • Bad Shortcode
    • Simple Metar
  • Meetings
  • Meetings Map

Mark Chouinard / February 6, 2013

Fix “Could not reliably determine the server’s fully qualified domain name” when starting Apache server on Ubuntu

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

Restart Apache

sudo service apache2 restart

Filed Under: Ubuntu Tagged With: Command line

Primary Sidebar

Footer

Copyright © 2021 · machouinard · Log in