meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
digital:server:matrixsynapse [2020/06/17 18:36]
natrius [Step 3 - Configure Synapse] - deleted sudo from ss
digital:server:matrixsynapse [2020/06/17 19:33]
natrius [Step 2 - Install Synapse] - spelling error in example url
Line 63: Line 63:
     sudo systemctl enable matrix-synapse.service     sudo systemctl enable matrix-synapse.service
  
-Synapse is now up and running using the default configuration on port '8008' and '8448'. Check the open ports using netstat command.+Synapse is now up and running using the default configuration on port '8008' and '8448'. Check the open ports using ss (former netstatcommand.
  
     ss -plntu     ss -plntu
  
-#### Set up well.known+#### Set up .well-known
  
 On your webserver a file at ''%%/.well-known/matrix/server%%'' has to be set up with the following content  On your webserver a file at ''%%/.well-known/matrix/server%%'' has to be set up with the following content 
Line 77: Line 77:
 </code> </code>
  
-Where ''/'' is the root of your webserver. So if you navigate to ''https://example.com/.well-known/matrix.server'' it may try to download the ''server'' file or show it directly+Where ''/'' is the root of your webserver. So if you navigate to ''https://example.com/.well-known/matrix/server'' it may try to download the ''server'' file or show it directly.
- +
-#### Set up SRV (**DON'T DO IT IF YOU HAVE SET UP WELL.KNOWN ALREADY!**) +
- +
-By setting an SRV record in your DNS provider, it is possible to tell other matrix servers where to connect to the server, pointing them to the correct hostname and port, in this example the default port (8448) is still used: +
- +
-<code> +
-_matrix._tcp.example.com. 3600 IN SRV 10 5 443 synapse.example.com. +
-</code> +
- +
-There is still an A record needed, pointing to the IP-addess of synapse on the subdomain (matrix.example.com). This way others can add your user with ''@user:example.com'' instead of ''@user:matrix.example.com''.+
  
 ### Step 3 - Configure Synapse ### Step 3 - Configure Synapse