Is it possible to migrate an ISPC server to new hardware using a new domain name and then rename it back to the old name (with new IP)? Goald would be that customers can use same old SMTP settings as before (DNS for ISPC and hosted Domains managed external)
That's possible and not even related to the migration tool, you can always change the name of any Linux server at any time. But why not use the same name instead and let the migration tool connect to the IP address.
I don't understand: I have to set up ISPC on the new server with a new name (different IP) let say new.myserver.com. Then migrate config.myserver.com to new.myserver.com. Can the migration tool handle the rename of the new server? Will I be prompted to adjust IP (Main DNS is external) Otherwhise my plan was to do the migration to the new server. Afterwards I will change the IP of myserver.com to the new IP and the old server to old.myserver.com Is it sufficient to rename the server under Settings to 'myserver.com' and all settings behind (vHost, DNS, SSL, Apache-Config, mail etc) will be automatically changed?
Renaming of the server is not related to the Migration Tool. if you want to rename a Linux server, you change the hostname in the files /etc/hostname, /etc/mailname, /etc/hosts and /etc/postfix/main.cf and restart the server.
Thank you very much for the info. I will proceed with the migration and then rename the servers according your recommendation.
Sorry again... I did a dry-run and found out that I missed the part with the certbot/acme client while installing the new server: What is the best action to adjust the letsencrypt client?
Do a complete reinstall of the target server with the AI and specify the client you want to use in the AI arguments. That's the safest way. Or do not copy over certificates and re-issue them for your sites after migration (if it's 20 or sites or less that'd be fine for sure...)
I only had a few domains, so I decided to do the migration. Now I have issues issuing the new certs for the hosted Domains: - I've changed the IPs to point to the new server. - I've made sure that the ISPC DNS entries point to the new server (was not replaced) - I've tried to dis- and enable Letscencrypt. This it only worked for the old ISP servername (new name is myserver.domain.com, new name is newserver.domain.com, but for all other Domains SSL and letsencrypt just gets disabled I cannot find a log (Let'sencrypt log in IPS Panel shows entries from midnight, same as in /var/log/ispconfig/acme.log) I also tried to delete and recreate a domain, but there the SSL/Letsencrypt-Entries got disabled. 1. How do I issue the certs? 2. When the certs got issued are these steps still needed to get Mail also secured? https://www.howtoforge.com/securing...server-with-a-valid-lets-encrypt-certificate/
Follow the Let's encrypt error FAQ checklist step-by-step to find out why your new server is unable to obtain Let#s encrypt SSL certs: https://forum.howtoforge.com/threads/lets-encrypt-error-faq.74179/
No, this does not apply to recent ISPConfig systems. A let's encrypt SSL cert gets issued during ISPConfig install automatically.
It works! Thank you very mutch!!! It seems point 4 'Skip Letsencrypt Check' did block it. I don't understand why: ISPC is the only firewall...
The ISPConfig firewall does not block it. Most likely your server is behind a NAT router and this router blocks requests from your server to the domain that shall get a LE cert therefore, ISPConfig can not test it due to the blocked connection.
ISPConfig creates a central SSL cert for the hostname only, this does not include any additional domains. If you want to have a different SSL cert, then you must create and manage it on your own or by using the SSL cert of a website.