Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Matrix (Synapse/Element)
  3. Change Domain Matrix/Element

Change Domain Matrix/Element

Scheduled Pinned Locked Moved Matrix (Synapse/Element)
12 Posts 5 Posters 3.0k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SebGG
    wrote on last edited by
    #1

    Hi,
    i want to change my domain from one to another. What happens to the matrix/element apps when i change their location under the app settings.

    Do the user names @user:matrix.domainOLD.de change to @user:matrix.domainNEW.de automatically?

    Thanks in advance,
    Sebastian

    girishG M 2 Replies Last reply
    0
    • girishG girish moved this topic from Support on
    • humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by humptydumpty
      #2

      Good question! I’d love to know the answer to this. I don’t think that it would change the user’s matrix domain/id though. The first issue I can think of is encryption related and how that would cause the whole app/user/validation structure to fall apart.

      1 Reply Last reply
      0
      • S SebGG

        Hi,
        i want to change my domain from one to another. What happens to the matrix/element apps when i change their location under the app settings.

        Do the user names @user:matrix.domainOLD.de change to @user:matrix.domainNEW.de automatically?

        Thanks in advance,
        Sebastian

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #3

        @SebGG the apps won't work anymore if you change the location. The id will change but it loses track of previous IDs i.e all your federated contacts won't know about it. Maybe all the rooms local to the server continue to work. Generally, one should not change Domain Post Installation. This is not supported by matrix

        1 Reply Last reply
        0
        • scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by
          #4

          If you really want to change domains, just make a new Matrix/Element instance, and then add the contacts, rejoin the rooms, etc, from the initial instance.

          1 Reply Last reply
          2
          • S SebGG

            Hi,
            i want to change my domain from one to another. What happens to the matrix/element apps when i change their location under the app settings.

            Do the user names @user:matrix.domainOLD.de change to @user:matrix.domainNEW.de automatically?

            Thanks in advance,
            Sebastian

            M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by
            #5

            @SebGG yeah, there's currently no option to change a server name after it's set up (https://github.com/matrix-org/synapse/issues/3031 for reference)

            girishG 1 Reply Last reply
            2
            • M msbt

              @SebGG yeah, there's currently no option to change a server name after it's set up (https://github.com/matrix-org/synapse/issues/3031 for reference)

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @msbt right...

              "Nothing has changed since 2018, it is still not possible to rename a server once it has done anything useful (eg sent a message, joined any room), please do not attempt to rename your server by manual database operations."

              1 Reply Last reply
              1
              • S Offline
                S Offline
                SebGG
                wrote on last edited by
                #7

                thanks for your adivice. I will think about it, how i find progress!

                1 Reply Last reply
                1
                • S Offline
                  S Offline
                  SebGG
                  wrote on last edited by
                  #8

                  Hey, i'm back in this again....

                  In the meantime i installed a second matrix/element installation on a another domain. After setting it up i was able to invite the people from the second domain into the the rooms of the first domain. This works only if on both servers federation is active. So the content of the first domain server rooms is now also available on the second server domain.

                  In the next step i want to migrate all users to the second domain server by inviting. After this is done i want to close the first server domain.

                  Here my question: If all users are now logged in at the second server domain and all chats are available for the users on the second domain, can i stop the first server domain? Or is there any short coming?

                  Thanks in advance

                  first domain = current matrix server with users which are using this for 3 year now with a lot of content
                  second domain = new matrix server on a new domain

                  1 Reply Last reply
                  1
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    So the content of the first domain server rooms is now also available on the second server domain.

                    I suspect this only works because it's a room? If you had personal chats with other people, it probably doesn't show up. My understanding is (was?) that there is no way to move data from your previous domain to the new one.

                    1 Reply Last reply
                    0
                    • scookeS Offline
                      scookeS Offline
                      scooke
                      wrote on last edited by
                      #10
                      This post is deleted!
                      girishG 1 Reply Last reply
                      0
                      • scookeS scooke

                        This post is deleted!

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #11

                        @scooke This is matrix thread and not mastodon 🙂

                        scookeS 1 Reply Last reply
                        0
                        • girishG girish

                          @scooke This is matrix thread and not mastodon 🙂

                          scookeS Offline
                          scookeS Offline
                          scooke
                          wrote on last edited by
                          #12

                          @girish Oops! My mistake!

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search