I have a Nextcloud installation which is accessable through two Domains. Lets say cloud.example-old.com and cloud.example-new.com. In former Times it was only accessable with cloud.example-old.com. Most of my friends access trough cloud.example-new.com today. Therefore my friends are some how confusend when they receive mail notifications where at the top of the mail only cloud.example-old.com is stated.
I already changed the order in the file config/config.php to:
0 => 'cloud.example-new.com',
1 => 'cloud.example-old.com',
What’s the value of your overwrite.cli.url ? Try changing it to the new domain like this:
'overwrite.cli.url' => 'https://cloud.example-new.com',
Thanks for your reply @inX, I have seen the value of
overwrite.cli.url yesterday and changed it to
https://cloud.example-new.com but today I received mail notifications with cloud.example-old.com as domain again therefore it did not solve my problem.
Did you restart your webserver after making the changes?
Sorry for my late reply. I did a restart of the webserver and it is still the cloud.example-old.com domain in the mails. At the moment I am using NC 13.