Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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
We Distribute
  1. Home
  2. Fediverse
  3. ActivityPub
  4. Domain name change

Domain name change

Scheduled Pinned Locked Moved ActivityPub
16 Posts 6 Posters 171 Views
  • 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.
  • N nodeham@community.nodebb.org

    What would be involved in changing the domain name of the forums?
    I've had to do this many times in the past and most times, it's been an absolute nightmare.

    Nodebb seems so well designed that I'm hoping it's a relatively simple task.

    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.org
    wrote on last edited by
    #5

    We of course can't account for all plugins. Probably if your NodeBB is from the mid 2010s, then it is possible some assets could still be using absolute URLs... but since then, at least the main plugins all use relative URLs.

    1 Reply Last reply
    0
    • N nodeham@community.nodebb.org

      What would be involved in changing the domain name of the forums?
      I've had to do this many times in the past and most times, it's been an absolute nightmare.

      Nodebb seems so well designed that I'm hoping it's a relatively simple task.

      N This user is from outside of this forum
      N This user is from outside of this forum
      nodeham@community.nodebb.org
      wrote on last edited by
      #6

      Wonderful then. This is usually a job that ends up being a rabbit hole with a lot of other software.

      Thanks. I'll give it a try.

      1 Reply Last reply
      0
      • julian@community.nodebb.orgJ julian@community.nodebb.org

        Pretty much what @PitaJ said, yes. Just update your DNS records so the new domain points to your NodeBB's IP (or reverse proxy), and update config.json with the new domain.

        Everything uses relative links, and url in config.json is only ever used in situations where we don't have any context as to what URL to use, such as email digests.

        reynir@forum.fedi.dkR This user is from outside of this forum
        reynir@forum.fedi.dkR This user is from outside of this forum
        reynir@forum.fedi.dk
        wrote on last edited by
        #7

        Hi @julian@community.nodebb.org! Sorry to revive such an old thread. Is this still the case with nodebb 4 with ActivityPub? I vaguely remember that in other ActivityPub software it's somewhat problematic to change hostname.

        1 Reply Last reply
        1
        0
        • julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote on last edited by
          #8

          I forked the topic, it deserves a longer reply and isn't as related to the earlier topic.


          @reynir@forum.fedi.dk that's a very good question, and having experienced it firsthand, I will share what happened.

          I started a climbing news aggregator based off of NodeBB at https://news.crag.social, and enabled federation. Later on, the forum rebranded under the OpenBeta umbrella and the domain name changed to community.openbeta.io.

          This was the best case scenario, a NodeBB to NodeBB move. Every user maintained their accounts, maintained their public keys, and the only thing that changed was their id. I set up a blind 301 redirect to the new site, so every single URL (whose structure was unchanged, remember) went to the new URL.

          Everybody still lost all their followers. The problem wasn't on my end, it was that remote users are tied to their ID and even though I left a redirect on the old domain to the new one, the support for this in other software is basically zero.

          There are efforts to look into this, re: Account Portability, but I am unsure of the status of this work.

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            Guest
            wrote on last edited by
            #9

            Hey @julian@community.nodebb.org

            What about replies on local threads from other Fediverse users? We have a lot of threads over on forum.fedi.dk where people from Mastodon, Lemmy, Pixelfed etc. have replied, and even Mastodon users who have directly posted to a NodeBB category by tagging it in their toot. Will a domain change break the threads/reply-relationships/whatever-you-call-it? 🙂

            (Also, appearently I have to tag @activitypub@community.nodebb.org as well for this reply to federate, just edited this reply to include this line 🤔)

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              Guest
              wrote on last edited by
              #10

              Hey @julian@community.nodebb.org

              What about replies on local threads from other Fediverse users? We have a lot of threads over on forum.fedi.dk where people from Mastodon, Lemmy, Pixelfed etc. have replied, and even Mastodon users who have directly posted to a NodeBB category by tagging it in their toot. Will a domain change break the threads/reply-relationships/whatever-you-call-it? 🙂

              (Also, appearently I have to tag @activitypub@community.nodebb.org as well for this reply to federate 🤔)

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                Guest
                wrote on last edited by
                #11

                What if I reply to this and tag @activitypub@community.nodebb.org? 🤔

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  Guest
                  wrote on last edited by
                  #12

                  Why won't this federate 😞

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    Guest
                    wrote on last edited by
                    #13

                    Hey @julian@community.nodebb.org

                    What about replies on local threads from other Fediverse users? We have a lot of threads over on forum.fedi.dk where people from Mastodon, Lemmy, Pixelfed etc. have replied, and even Mastodon users who have directly posted to a NodeBB category by tagging it in their toot. Will a domain change break the threads/reply-relationships/whatever-you-call-it? 🙂

                    malte@forum.fedi.dkM 1 Reply Last reply
                    0
                    • ? Guest

                      Hey @julian@community.nodebb.org

                      What about replies on local threads from other Fediverse users? We have a lot of threads over on forum.fedi.dk where people from Mastodon, Lemmy, Pixelfed etc. have replied, and even Mastodon users who have directly posted to a NodeBB category by tagging it in their toot. Will a domain change break the threads/reply-relationships/whatever-you-call-it? 🙂

                      malte@forum.fedi.dkM This user is from outside of this forum
                      malte@forum.fedi.dkM This user is from outside of this forum
                      malte@forum.fedi.dk
                      wrote on last edited by
                      #14

                      @samsapti Strange. When I go to the original thread on community.nodebb.org I can see that the thread is forked. I then click on that new forked thread and try to paste that URL into the search on our end (forum.fedi.dk). The search result is the original thread that the thread was forked from.

                      (Not sure what/who to tag to make sure this post gets through so I'll just tag @julian@community.nodebb.org )

                      1 Reply Last reply
                      0
                      • malte@forum.fedi.dkM This user is from outside of this forum
                        malte@forum.fedi.dkM This user is from outside of this forum
                        malte@forum.fedi.dk
                        wrote on last edited by
                        #15

                        I basically think the federation issue here is because the topic was forked.

                        1 Reply Last reply
                        0
                        • ? Offline
                          ? Offline
                          Guest
                          wrote on last edited by
                          #16

                          I think you're right 😕

                          1 Reply Last reply
                          0
                          • julian@community.nodebb.orgJ julian@community.nodebb.org shared this topic on
                          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.
                          Powered by NodeBB Contributors
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups