Author Topic: AH00558: httpd: Could not reliably determine the server's fully qualified domain  (Read 1135 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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

Code: [Select]
[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
Code: [Select]
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






Offline
*
fix
i add
Code: [Select]
ServerName localhost

to


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


sorry if i disturb you

Offline
**
Check out this Wiki. The file you edited will be overwritten at some point.

http://wiki.centos-webpanel.com/webservers-vhost-templates

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