Problem scenario
Your website is not working. When you browse to the login page, the browser loads forever. There seems to be a problem with the web server itself.
On the back end, you run this command from the operating system's command line:
netstat -anlp | apache2
You see this as the result of this command:
"AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 123.123.123.123. Set the 'ServerName' directive globally to suppress this message httpd (pid 793) already running"
What do you do to get your web server to work properly?
Solution
Did you really mean to pipe the output of "netstat -anlp" to "apache2"? Respectfully, Linux administrators who are prone to mistyping commands (i.e., omitting the word "grep") may also mistype the URL or IP address in the web browser. Make sure you typed in the correct IP address in your web browser. To find the correct IP address, run this command:
curl icanhazip.com
The result should be the IP address in the web browser. An incorrectly typed IP address in a web browser can make a web page appear to load forever.