AH00558: httpd: Could not reliably determine the server's fully qualified domain

Started by Mighty Dr.Wolf, April 05, 2019, 08:38:25 PM

Previous topic - Next topic

Mighty Dr.Wolf

Hello
hope you fine...

I'm sorry I'm asking to much but i didn't found any answer in her or Google (because im noob )
i was checking if mod_rewrite working and i found this


[root@server~]#  /usr/local/apache/bin/httpd -M|grep rewrite

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

rewrite_module (shared)




then i wrote

systemctl status httpd

and i found this line
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using MY.SERVER.NAME. Set the 'ServerName' directive globally to suppress this message

apache works fine only this line ...

is this normal? how to fix it if it's not normal
Regards






Mighty Dr.Wolf

fix
i add
ServerName localhost


to


/usr/local/apache/conf/httpd.conf


sorry if i disturb you

GTMAN


Mighty Dr.Wolf

thank you for answering
so what should i do?
:'(
should i create a template file where which name which permission?
Regards