this post was submitted on 08 Jul 2023
17 points (94.7% liked)

Lemmy Support

4651 readers
4 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
[–] Max_P@lemmy.max-p.me 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.

[–] liori@lemm.ee 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.

load more comments (1 replies)