1
0
Fork 0
My old website. I completely made this one in bash-scripting.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
822 B

<b>Always the same error during restarting apache</b>
If you restart your Apache webserver, you could get the following error message:
Could not reliably determine the server's fully qualified domain name,
using 127.0.0.1 for ServerName
The reason is because your netwerk is not completly setup properly.
-Check if your hostname is set in /etc/hostname
-Check if your domainname is set in /etc/resolv.conf
And the final trick: Put in your /etc/hosts file the next line:
IP-addres fully-quallified-hostname small-hostname
Do not swap the fully-quallified-hostname and the small-hostname, because Apache
only looks at the first entry and that one should be the fully quallified hostname
So for example, for me it will become:
192.168.1.1 scrat.sciuro.org scrat
Restart your apache and the message is gone.