File URLs broken after moving to a different domain

We created our server as and then changed it to faq.redacted.local.
Some links show up as faq.redacted.local and the DO work.
Some links show up as and the don’t work.

If I edit the posts (A) the links work 100% of the time in the preview, and (B) the links are relative links in the post (i.e. they don’t specify either or

All help appreciated.

Did you follow these instructions?


This was the step I didn’t know about:

./launcher enter app
discourse remap
rake posts:rebake

Thanks! Felix