this post was submitted on 08 Jul 2023
22 points (95.8% liked)

Lemmy Support

4645 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Hey everyone, I am looking to change the domain name of my self hosted instance and had a question.

I used the Ansible installation instructions originally and am now curious if it would be as easy as editing the “hosts” file and the “config.hjson” file before running the playbook again?

Will this overwrite the necessary configurations and grab a new SSL while keeping the content of the instance intact?

My main concern is breaking federation.

Thanks for any insight.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (2 children)

My guess is that it'll break federation pretty bad: a lot of things in Lemmy shares URLs for where to send ActivityPub notices: everything your users subscribed to, people sending DMs to your users as the username will change, remote instances subscribed to your local communities as well most likely.

I don't know if Lemmy honors 301/308 redirects, but honoring them and saving them for future use would probably be a nice feature to have, but probably pretty low on the priority list given the scalability issues being worked on at the moment.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I'm surprised federation isn't based on asymmetric cryptography. Let the public/private keys identify instances, as opposed to domains that risk being blocked by governments or bought by malicious third parties if the instance owner forgets to prolong it.

With that, implementing a change in domain names would be simple.

[–] [email protected] 1 points 1 year ago

Yeah, that was my concern as well, figured this post could spark a discussion and maybe someone would have a solution or at least some extra insight. I know there is a LOT going on with development right now, so I don't expect a priority here, especially because they are definitely working within the confines of ActivityPub functionality when it comes to federation. Thanks for your input!