Domain name change
-
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.
-
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.
I don't think anything needs to be changed besides the URL in config.json
-
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.
Hi,
Really? So, nothing else, like pages saved in db that have the current domain name?
That would be super simple :).
-
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.
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
inconfig.json
is only ever used in situations where we don't have any context as to what URL to use, such as email digests. -
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.
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.
-
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.
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.
-
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
inconfig.json
is only ever used in situations where we don't have any context as to what URL to use, such as email digests. -
A activitypub@community.nodebb.org shared this topic
-
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.
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.