sdgsdgsd the only place you need to modify the domain is in config.php
Flarum will not redirect to the new domain automatically, so you should also configure your old domain as a redirect in your hosting, or keep it pointing to Flarum and use the Canonical URL extension to redirect for example.
Some extensions might have hard coded the old domain in some post content or settings, this will be specific to the extensions you use.
Flarum's mentions should automatically point to the new domain, but any manually pasted link in a post will still point to the original domain. If you don't want them to go through your domain redirect you might be able to change them with an SQL query.