Change domain name - passwords don't work

In connection with a change of web address, all existing users must create a new password. Logging in with the same password is rejected even if the password is correct, which seems unfortunate. However, creating a new password is not the worst thing in the world, but how do I get information to be sent to existing users about this collectively via their registered emails?

That shouldn’t happen. 2 factor is an issue with domain name change but not passwords. What did you do to change it?

You can create a banner that says to change the password if it doesn’t work.

2 Likes

I changed the domain name the way Discourse says it should be done - and it went well. The forum is now called forum.brreg.no

However, I could not log in with the same password, so I reset the password and clicked on the link sent to my email. When I entered the same password that I tried before resetting the password, I was told that this was the existing password.

I had to choose a new password.

It is not appropriate to post information on a banner. No one knows about the new domain. I need to send info by email to all registered users. First time I tried the old address, the message was that til site doesn’t exist.

Why not just redirect all traffic from the old domain to the new one?

1 Like

Because the first time you use the old domain, it says that the site doesn’t exist. After logging in, the old domain automatically redirect to the new domain.

And, we don’t want a banner as suggested :slight_smile:

This sounds like it did remember the existing password?

The redirect should be working as intended and users will land on the new domain and be able to use their existing passwords. Have you got a test user or another existing user you could give this a second run-through with just to confirm it wasn’t a blip?

5 Likes

That doesn’t make sense to me, how is your redirect set up? It shouldn’t rely on you signing into a different site to redirect successfully.

Tested with my personal user and got an admin to test as well - same thing happened. The redirect did not work first time - and this will annoy the users

Have done nothing regards to redirecting - Discourse redirects

So, our solution is to send all the users an email. As a state agency we have decided to do this.

So, back to my initial request; how is this done?

This happens first time an anonymous user tries the old domain - this time just loading, not even a message that the site doesn´t exist

And this was the result when I as an admin tried using my iPad. The text says that the site doesn´t exist.

How is Discourse itself handling the redirect? Why not just add a DNS redirect?

Ah, that looks like you’re trying to access a restricted area while not logged in. If the site wasn’t available it wouldn’t be able to show that error page.

Just to note, as a hosted customer you can contact team@discourse.org or message @team any time for any support issues (not to disparage our wonderful community support who are also very helpful and knowledgeable :slight_smile: :heart:)

When I go to your original site address as an anonymous user I land on the homepage of your new domain with no issues (though I can’t check the password issue, of course).

3 Likes

I don’t know how to :slight_smile:

Well uptil now I always have sent then emails - only to experience that they answer through this forum, so this time I tried directly through the forum…

3 Likes

We have a couple of areas for support here on meta, the public section where the community can support each other (open to everyone, whether hosted by us, hosted elsewhere, or self-hosting), as well as our dedicated customer support which is handled by email and PM. :discourse: (If you go to https://meta.discourse.org/my/messages you’ll be able to see all of your previous support tickets).

Ideally, the redirect should be working and the passwords still the same. From what I can tell, the redirect seems to be working as intended (at least for me).

But, to answer the question, you can use the data explorer to pull a user list including emails which you can then use in a separate email account to email out this notice, or you could set an ‘announcements’-style category in default categories watching first post which would send out a notification for any new topics created, where you could post a topic with the reset password information in (this would respect a user’s email preferences so may not be all-encompassing. It should also be used sparingly as it can create a lot of emails depending on the size of your userbase and how many topics you add in there).

Hopefully though, that shouldn’t be necessary and we can get to the bottom of why it’s not working as it should be. :crossed_fingers:

4 Likes

You could goto each user’s profiles Admin page and use the button on each profile to send a password reset email.

Or as Jammy said to use a data explorer query to get a list of email addresses.


If you have an Announcement type category that all users are set to Watching/Watch first post. You could create a new topic with the instructions to use password reset if they have trouble logging in. Just ensure post is either publically accessible to Anonymous visitors or short enough to fit in the email preview.

I see Jammy covered that in the post above. :wink: