Thanks for this great piece of software!
It would be great to have a possibility to add several domains to one instance.
The FAQ gives actually a good answer to this:
Matrix user IDs (MXID) are unique user IDs. They are in the format @username:homeserver.tld (this format is used to avoid confusing them with email addresses). They are intended to be fairly hidden (although right now they are not) - instead you will find and identify other users via 3PIDs.
So, there is no need to handle multiple domains on the home server, as identity server should handle the shareable identifiers (like email or phone) and the identity (MXID) of the home server should be unique (and fairly hidden!).
Closing here. Sorry for disturbing.
Sorry to dig out this issue, I just wanted to add that I would still really enjoy such a feature for at least a few reasons:
my 2 cents :)
Hi @Ezwen it's something that needs revisiting. https://github.com/matrix-org/matrix-doc/issues/1228 will make the whole problem go away, but it is not something that will land soon. So we either modify Synapse to work across multiple domains (this is non-trivial because today it assumes that in all contexts there exists exactly one domain), or double down on https://github.com/matrix-org/matrix-doc/issues/1228 and portability comes for free.
Interesting, thanks for pointing that out! It looks very promising :)
I ned this also. Currently I run one ejabberd instance for XMPP with 3 domains. Also, we run 3 SIP domains (URI dialing) on a single OpenSIPS server. I want to replace those two independant services with one Matrix service. Riot works well on all platforms wheras XMPP is a problem on iOS and Linphone for Android has never been good enough for user adoption, most of our users just use Whatsapp instead.
We have 3 companies under one roof (shared offices). Internally they act like one company in some capacities, but externally (publicly) they must look like seperate organisations. I only see two options:
1.) Run one instance with one new (made up) domain.
2.) Run three seperate instances (in containers) with each of the real domains.
Option 2 sounds best to me, but I only worry about performance. I suppose I could shared the same TURN server for all and most of the video call performance will not be impacted. The other traffic should not be a problem if the containers are on the same physical host.
P.S. I'm running Synapse in a FreeBSD jail, and it runs like a champ! We only have a few test users so far though.
I am interested in having multiple domains.
I have an instance ... but I don't know how to create more instances without them colliding and I can register users from each different domain or subdomain.
I'd like that too
Most helpful comment
I ned this also. Currently I run one ejabberd instance for XMPP with 3 domains. Also, we run 3 SIP domains (URI dialing) on a single OpenSIPS server. I want to replace those two independant services with one Matrix service. Riot works well on all platforms wheras XMPP is a problem on iOS and Linphone for Android has never been good enough for user adoption, most of our users just use Whatsapp instead.
We have 3 companies under one roof (shared offices). Internally they act like one company in some capacities, but externally (publicly) they must look like seperate organisations. I only see two options:
1.) Run one instance with one new (made up) domain.
2.) Run three seperate instances (in containers) with each of the real domains.
Option 2 sounds best to me, but I only worry about performance. I suppose I could shared the same TURN server for all and most of the video call performance will not be impacted. The other traffic should not be a problem if the containers are on the same physical host.
P.S. I'm running Synapse in a FreeBSD jail, and it runs like a champ! We only have a few test users so far though.