Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you load up your browser and type in the ip address of your server you will see a simple page letting you know Apache is working.

Provide Server Name

Apache is working fine, but during restart you will get the warning message, "apache2: Could not reliably determine the server's fully qualified domain name, using ...".

Most websites have a domain name attached to them. Apache is looking for this on startup. There actually is not much documentation on exactly what is happening here. If you happen to know then email me. Based on my reading here is how to resolve it.

First use the hostname command to determine the name of your system,

Code Block
langhtml
hostname # Determine name of your system. In this example this server will return tinman

Next add the result to the empty /etc/apache/httpd.conf.

Code Block
langhtml
sudo vi /etc/apache2/httpd.conf

Add to the very top of this file,

ServerName tinman