Ungleich Matrix-as-a-Service (MaaS) » History » Revision 16

Revision 15 (Nico Schottelius, 07/16/2020 05:17 PM) → Revision 16/52 (Nico Schottelius, 07/16/2020 09:39 PM)

h1. Ungleich Matrix-as-a-Service (MaaS) 


 *%{color:green}This document concerns end-users/customers. See [[The ungleich Matrix infrastructure]] page for server-side documentation.%* 

 h2. Status 

 This document is *in PRODUCTION* 

 h2. Overview 

 "Matrix": is an open and decentralized IM system supporting modern features such as end-to-end encryption, message history, bridging to other networks, VoIP and more. It is based a federated structure, similar to what is done with emails: users use a home server as 'gateway' to the network. Our MaaS offer provides you with such a server as well as an hosted web client, "Riot": 

 "Riot's features page" gives you a good overview of Matrix's possibilities. 

 h2. FAQ 

 h3. Q: How many users can I have? What are the resources allocated to my matrix server? 

 We do not enforce a limit of the number of users: you can do anythign you want as long as you fit the resources allocated to your homeserver. You are provided with 1GB of memory, 1vCPU and 20GB of storage with the base offer, which can be extended on demand (Pricing is the same as ipv6onlyhosting VMs, since that's what we use underneath). 

 h3. Q: What server name will I get? 

 You can either use your own domain name (see below) or ask us for $ 

 h3. Q: Can I use a custom domain name? 

 Yes! You will have to give us three domain names: 

 * a) *the homeserver*: this is where the actual server is running - this can be on domain "A" - in case of ungleich we use ** and give away ** for free 
 * b) *the address of the web client* - this is where people with their webbrowser go to - this should be different from "A". Often this is something like ** or **. In case of ungleich this domain is ** 
 * c) *the main matrix domain*: the one you use for users and rooms. This is usually your main domain and is different from A. For ungleich this is **. Most people will choose their "main domain", for instance ** here. 

 You will also need to configure 2 files below *the main matrix domain* 

 - */.well-known/matrix/server* containing *{"m.server": "homeserver:443"}*. 
        Example: <pre>$ curl 
 {"m.server": ""}</pre> 
    - */.well-known/matrix/client* containing *{ "m.homeserver": { "base_url": "https://homeserver" } }*. Example: <pre> 
 { "m.homeserver": { "base_url": "" } } 


 h3. Q: Why can't I use the same domain for everything? 

 The home server should be on a different domain to prevent possible XSS (cross site scripting) attacks. 
 You can find details about it on 

 For this reason we offer for free for all homeservers. 

 h3. Q: How many domains do I need for a standard matrix setup? 

 Typically 3 domain names are used: 

 * The domain that defines your *room and user names* (for ungleich this is **) 
 * The domain that your users type in the web browser to join the chat (for ungleich this is **) 
 * The domain on which your *homeserver* (the server providing the matrix server) is reachable (for ungleich this is **) 

 The homeserver needs to be on a different domain than the other two to avoid possible XSS attacks. 


 h3. Q: What server implementation and version do you use? 

 We use the "synapse reference homeserver": package "provided by the buster-backports repository": 

 h3. Q: What client can I use? Do you recommend one? 

 We recommend and provide you a web version of the "Riot client": (desktop and mobile) but you can use "any matrix client": 

 h3. Q: Can I set option X in synapse/riot? 

 Yes! Contact the ungleich support with the requested changes, which we will apply to the deployment configuration of your instance. 

 h3. Q: Do you provide a TURN server for VoIP? 


 h3. Q: What are application services can I use? 

 We support bridging to other services (IRC, Matrix, Telegram, Slack, ...) via "matterbridge":, deployed on demand. 

 h3. Q: If I do not use an LDAP directory, can I still manage my users? 

 Yes! We provide you with a management UI on You will have to use the full address of your matrix homeserver (e.g.