A server was rented and had the name server1.yourprovider.org. The server was renamed using hostnamectl to myserver,mydomain.org the reverse dns was adjusted at the dns provider, so doing an reverse lookup of the ip results myserver.mydomain.org ispconfig was installed using the installer Server is performing as expected, untill the certificate for ispconfig is renewed, the new cert is created for server1.yourprovider.org. To fix the problem i exected ispconfig_update --force and all is well, but i would prefer that the renewal process is registering the cert to myserver.mydomain.org How to proceed?
Does the command: hostname -f returns the correct new hostname? If you did not, you did not rename the server correctly. A hostname need not just be changed with hostnamectl, you must also change it, e.g., in /etc/hosts and /etc/mailname.
i did the rename of the server before i installed ispconfig(a while ago) hostname -f responds with the correct fqdn /etc/hosts and /etc/mailname look wel i did a text search on the wrong hostname, and it seems /etc/postfix/main.cf is containing the wrong name. /etc/postfix/main.cf:# myhostname = server1.yourprovider.org But this file is maintained by ispconfig, or can i change this manually?