Apache can't start

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message

How I resolve?

Could it be Log4Shell vulnerability which is currently 10/10 for danger?

I don’t think so, because I think it’s a problem with the configurations.

1 Like

in your httpd.conf
ucomment the line
#ServerName www.example.com:80
put your ServerName in
ServerName 127.0.0.1:80

1 Like

Did you google that? Just searching the error code would give you dozens of detailed solutions to your problem.

2 Likes

With google the solution is with correct ServerName in the .conf files. For me the command “apachectl configtest”, helped me find an error in the configuration, I had basically uncommented a module that was conflicting.

 

i resolved comment a module that creates a conflict with another module.