Having an issue after changing domain

(Donald) #1


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

(Wiliam Joaquim) #2

Changed the company domain in settings?

(Donald) #3

Yes I have gone through and changed all the settings.

(Wiliam Joaquim) #4

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

(Donald) #5

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.

(Donald) #6

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

(Donald) #7

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

(Wiliam Joaquim) #8

Edit is app.yml

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

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

Aperte ctrl + x depois y e ENTER

sudo ./launcher rebuild app

(Donald) #9

Got it working! Thanks a lot.

(Jeff Atwood) #10