Can I change the hostname on my Virtual Machine after I have built it?
All OnApp versions
The possibility to edit a fully qualified domain name (FQDN) for Xen and KVM based virtual server has been implemented in OnApp version 5.9.
For older versions the hostname of a VM cannot be changed via the OnApp UI. If required this can be changed by updating the hostname directly within the virtual_machines table of the OnApp database and manually within the VM itself.
mysql> update virtual_machines set hostname="<new_hostname>" where identifier="<vm_identifier>";
Note - We suggest taking a dump of the OnApp database prior to making any manual changes as a precaution.