Hi I like to retire the domain use for the hostname in my hestia setup. This hostname domain is not used for anything else and I like to stop paying for it.
How can I safely change the hostname? ChatGPT suggests:
hostnamectl set-hostname new.hostname.com
Update the /etc/hosts file.
v-change-sys-hostname new.hostname.com
systemctl restart hestia
rm -rf /usr/local/hestia/ssl/*
v-add-letsencrypt-host
Lastly, update PTR record (reverse DNS) to match the new hostname for email deliverability.
v-change-sys-hostname new.hostname.com v-add-letsencrypt-host Lastly, update PTR record (reverse DNS) to match the new hostname for email deliverability.
hostnamectl and editing the hosts file are already handled by v-change-sys-hostname. Additionally, there is no need to remove SSL files, as doing so could cause hestia-nginx to fail to start.