How to change the domain name (while keeping the old domain active)

I would like to change the domain name of a mattermost server from something like mattermost.mysite.org to mysite.forum. The problem is that we currently have many users who are already subscribed using our old domain name, and we would like to minimize the user inconvenience as much as possible. Does any have any suggestions on what is the best way to do this?

Ideally, it would be great if we could use both domain names to access the same server, but I suspect that this isn’t possible (I think that there can only be one siteURL in the mattermost config file, but to be honest, I don’t know what this variable does). One possibility would be to request a new certificate and then just do a URL redirect to the old site, but then we would still be using the old URLs.

In any case, I just wanted some advice before I start testing various scenarios on our server that is in production!

We also had to change URLs in the past. As siteURL we configured the new URL in the config.json

For the old URL we created a second VirtualHost in Apache httpd and added a redirect from old to new. For this, you will need two certificates (one for old, one for new) or one certificate with both dns names in it.

It’s correct that you can’t use multiple domains for the same mattermost server. But I read somewhere that this might be possible in the future.