# Update Apache configuration # vi /etc/apache2/apache2.conf ServerName <IP ADDRESS> # Updated Cloud configuration to preserve the hostname on boot # vi /etc/cloud/cloud.cfg preserve_hostname: true # Update the hostname hostnamectl set-hostname your.domain.tld