Having an issue after changing domain

Hello

I changed my forum domain and have encountered the following issue when doing a password reset:

As you can see, at the bottom of the email it is still using the old domain in the reset link. I was able to reset my password by just substituting the new domain, but how can I fix this so it doesn’t happen with other users?

Thank you

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 my 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.

3 Likes

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

3 Likes

Got it working! Thanks a lot.