After looking at the thread
Effectively, this was the problem!!
I had this:
127.0.1.1 mydomain_old.com mydomain_old mydomain.com
So: 1) the old domain name, 2) the old hostname, 3) the current domain name (& hostname)
I edited that file:
sudo /etc/hosts
and modified that line to:
127.0.1.1 mydomain.com
Then rebooted the server and then this were the hostname outputs:
hostname
mydomain.com
hostname -f
mydomain.com
Then i run the Hestia command:
v-add-letsencrypt-host
and this time all worked fine (empty output… …
it looks like there was a problem with the hostname (the new hostname), so I tried
/usr/local/hestia/bin/v-change-sys-hostname main.domain.com
/usr/local/hestia/bin/v-add-letsencrypt-host
and the certificate for main.domain.com:8083 get updated and now it works.
I didn’t deleted main.domain.com as suggested in the thread (and it works fine…)
I write it here just to let it down here for anyone else…
2 Likes