Bobcares

Apache error AH00558 – Let’s fix it!!

by | Jan 19, 2020

Trying to fix Apache error AH00558? We can help you with it.

Apache shows this message when it couldn’t find the server name.

At Bobcares, we often get requests regarding Apache errors, as a part of our Server Management Services.

Today, let’s see how our Support Engineers fix Apache error for our customers.

 

When does this Apache error AH00558 occur?

This error message appears mainly when:

  • Stopping an Apache service
  • We start an Apache service
  • We restart an Apache service

But, why this appears is the main question. Today, let’s discuss in detail on Apache error AH00558 and see how our Support Engineers find the fix for this warning message.

 

How we fix Apache error AH00558?

Recently, one of our customers approached us saying that he is getting a warning error message like the one shown below when he is trying to restart the Apache service.

Apache error ah00558

So, we checked in detail and found that there was no  “ServerName” directive added in the configuration file. That’s why Apache complained about this error message.

So, we added the following in ‘/etc/apache2/apache2.conf’ file.

ServerName FQDN

Here, FQDN is the Fully Qualified Domain Name. Usually, this will be something like srv.domain.com which correctly resolves to an IP address.
Finally, we restarted the service using ‘service apache2 restart‘. This removed the Apache AH00558 warning.

Note: The  ServerName directive can either be an IP-address, or fully qualified domain name, or hostname, depending on the way we are planning to set up Apache.

Also, we handled a situation where the customers approached us with the same Apache warning message, but he said that he needs to run Apache for internal testing purposes only.

So, we set the ServerName directive to the IP-address of his server and restarted the service. Finally, Apache restarted without the error AH00558.

ServerName IP Address 

 

[Need any assistance with Apache errors? – We’ll help you]

 

Conclusion

In short, this error message can be avoided by adding the ServerName directive in the Apache configuration file. Today, we discussed in detail how our Support Engineers fix this warning message.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Robert

    Hi guys,
    I cannot define it globally because of my subdomains..
    What to do ?
    Thanx in advance
    Robert

    Reply
    • Hiba Razak

      Hi Robert,
      Please contact our support through live chat(click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.