I have a mail server at domain mydomain.mk and now I would like to change it to newdomain.net. How to do that?
I did this:
First I log into the web UI as admin and added mail.newdomain.net under
I also added DNS records for mail.newdomain.net through my internet registrar.
Then I ssh-ed into the server and did this:
Then I changed
Finally, I said
docker-compose up -d.
openssl x509 -in /opt/mailcow-dockerized/data/assets/ssl/cert.pem -text still says that
Subject: CN = mail.mydomain.mk and not
Another problem. I am using Nginx proxy, so I changed
server_name, but I left SSL directives the same:
Now, when I go to the web UI (
https://mail.newdomain.net), web browser warns me, that the certificate issued is not correct (which is expected since openssl told me that
Subject: CN = mail.mydomain.mk.
However, how to go from one domain to another? Hopefully complete reinstall is not an option…