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.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://forum.fedi.dk/post/912 on your instance and quote it. (Note that quoting is not supported in Mastodon.)