Control Web Panel

WebPanel => Apache => Topic started by: Mighty Dr.Wolf on April 05, 2019, 08:38:25 PM

Title: AH00558: httpd: Could not reliably determine the server's fully qualified domain
Post by: Mighty Dr.Wolf on April 05, 2019, 08:38:25 PM
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





Title: Re: AH00558: httpd: Could not reliably determine the server's fully qualified domain
Post by: Mighty Dr.Wolf on April 06, 2019, 07:48:35 AM
fix
i add
Code: [Select]
ServerName localhost

to


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


sorry if i disturb you
Title: Re: AH00558: httpd: Could not reliably determine the server's fully qualified domain
Post by: GTMAN on April 06, 2019, 08:11:09 PM
Check out this Wiki. The file you edited will be overwritten at some point.

http://wiki.centos-webpanel.com/webservers-vhost-templates (http://wiki.centos-webpanel.com/webservers-vhost-templates)
Title: Re: AH00558: httpd: Could not reliably determine the server's fully qualified domain
Post by: Mighty Dr.Wolf on April 07, 2019, 11:19:57 AM
thank you for answering
 so what should i do?
 :'(
should i create a template file where which name which permission?
Regards