Fix: Apache failed to start in FreeBSD

in IT

When getting the following error message:

AH00557: httpd: aprsockaddrinfo_get() failed for roc
AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using Set the ‘ServerName’ directive globally to suppress this message

EDIT /usr/etc/apacheXX/httpd.conf — XX is version number
Change the ServerName line to ServerName you_server_name:80

Save, quit, restart apache.