Configuring the Apache HTTP server

Using sed, add the ServerName option to the Apache configuration file that references the short name of the controller node:

    # sed -i '1s/^/ServerName controller01\n&/' /etc/apache2/apache2.conf

Restart the Apache web service for the changes to take effect:

    # systemctl restart apache2