skatehorde
(Skatehorde)
January 2, 2020, 11:06am
#1
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
sau226
January 2, 2020, 11:35am
#2
Hey there. Welcome to Discourse Meta.
You might want to follow the guide below on changing your domain name in app.yml:
This guide is for self-hosted Discourse instances that were installed using our installation guide on GitHub . If you are hosted by Discourse , please see Configure your domain name for hosted Discourse for specific instructions.
You may eventually want to change the domain name of your Discourse instance, from say
=BEFORE= → =AFTER=
Let’s get started.
Set the TTL for your DNS low, and in advance
You need to let everyone know that the domain is about to change, so change the TTL f…
After making the changes, you probably want to then fix settings and follow the guide from there.
4 Likes