I’m hosting some applications on my server (220.127.116.11, server A). But now I’m running out of space so I rented another server (18.104.22.168, server B). My (important) subdomains are:
I copied my sites-available-configs to server B and requested my certificates like
certbot --apache -d gitlab.darkspirit510.de
The subdomains ldap and jenkins are working correctly. The subdomain gitlab.darkspirit510.de gets requested without any errors, but when opening it with any browser it says the certificate is registred to mcmyadmin.darkspirit510.de. I even tried to force the renewal, but it still points to domain on the other server.
Can anyone give me advices how to fix this issue?
Additional Info: I have root access to both servers and dns records. Both servers are running ubuntu and apache.