Changing domain from command line

I lost the domain I was using for our discourse.

Is it possible to change the domain of a Discourse from the command line. The posts I have read talk about starting in the settings, unfortunately I can not log in because the domain name is pointing somewhere else. Can I do it from the command line?

1 Like

Hey there. Welcome to Discourse Meta.

You might want to follow the guide below on changing your domain name in app.yml:

After making the changes, you probably want to then fix settings and follow the guide from there.

4 Likes