Проблема после смены домена

Здравствуйте

Я изменил домен форума и столкнулся со следующей проблемой при сбросе пароля:

Как видите, в нижней части письма в ссылке для сброса всё ещё используется старый домен. Я смог сбросить пароль, просто заменив старый домен на новый, но как исправить это, чтобы проблема не возникала у других пользователей?

Спасибо

Changed the company domain in settings?

Yes I have gone through and changed all the settings.

I believe it has changed in the app.yml, rebuilt correct?

Yes, I followed Jeff’s instructions here: Change the domain name or rename your Discourse

Or at least I think I did. I’m receiving emails to the correct address, anyhow.

I also just noticed on the Terms of Service page at /t/terms-of-service/4 that all references to the domain have updated but references to the company name have not.

To clarify what I did with app.yml, I did

./launcher enter app
discourse remap forum.olddomain.org discuss.newdomain.org
rake posts:rebake

and also

./launcher enter app
discourse remap olddomain.org newdomain.org
rake posts:rebake

Oh wait, I can see what I have done wrong. I haven’t edited the hostname line in app.yml.

Edit is app.yml

cd /var/discourse
sudo nano containers/app.yml

Edit
Hostname for your Discourse? [discourse.example.com]:

Aperte ctrl + x depois y e ENTER

sudo ./launcher rebuild app

Got it working! Thanks a lot.