- Plesk for Linux
The following message is shown in the
CONFIG_TEXT: # Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
# /etc/cloud/cloud.cfg or cloud-config from user-data
/etc/hostsfile gets overwritten after a server reboot. In some cases, this may cause Apache failure. After adding a hostname and IP address to the
/etc/hostsfile, Apache successfully starts.
Make sure that there are no subfiles inside the
/etc/cloud/cloud.cfg.dwith this directive:
# grep -ir manage_etc_hosts /etc/cloud/cloud.cfg.d/