apachectl is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the functioning of the Apache httpd daemon.
Notice. On the httpd server, /etc/resolv.conf will affect how Apache maps the host to the IP addresses.
If /etc/resolv.conf lists several name servers but these name servers map the same domain name to different IP addresses, the result of “apachectl -S” may show different IP addresses with correspondence to the same host.