Is it possible to change lemmy's domain after I have already started it once and produced some content? I am thinking of moving to a subdomain but I'm not sure if it will go smoothly
Is it possible to change lemmy's domain after I have already started it once and produced some content? I am thinking of moving to a subdomain but I'm not sure if it will go smoothly
14 Comments
terribleplan@lemmy.nrd.li · 17 pts · 3y
Basically, no:
TheHolm@aussie.zone · 4 pts · 3y
Yeh, It is big fault in ActivityPub design that IDs are linked to domain name. Should not be a case. Some UUID + public keys will make it way more flexible and resilient.
terribleplan@lemmy.nrd.li · 1 pts · 3y
Having a "source of truth" makes many things easier but less resilient. One place to go get the latest version of something mutable. The fediverse/ActivityPub needs to get on board with some form of DID or something similar before worrying about improving the ID system (and the ID system is inherently tied to JSON-LD, so AP would need to stop using that or there would need to be a new version of it) IMO.
pinkolik@random-hero.com · 2 pts · 3y
I see. Thank you for such a detailed explanation :)
koper@feddit.nl · 14 pts · 3y
You can, but other servers will not recognize it as the same server.
There are however ways to run your server on a subdomain and make it appear as if it's still the original domain. Is that what you're looking for?
pinkolik@random-hero.com · 3 pts · 3y
That might fit my needs. Could you explain in more details please?
stown@sedd.it · 7 pts · 3y
/well-known/webfinger. If you use a reverse proxy on your main domain (example.com), you have it forward traffic from
example.com/well-known/webfingertosubdomain.example.com/well-known/webfingerAndreas@feddit.dk · 2 pts · 3y
Is renaming the instance domain without reinstalling Lemmy related to changing the WebFinger query? It's the trick some instances use to have a different instance domain from their username domain, like @user@domain.com while the instance is mastodon.domain.com.
koper@feddit.nl · 2 pts · 3y
Yes, that was what I was referring to. However, this is assuming that Lemmy has properly implemented webfinger and doesn't store direct links (which I haven't checked).
Alternatively, you could proxy all requests with
application/activity+jsonin theAcceptorContent-typeheaders.baduhai@sopuli.xyz · 1 pts · 3y
Do you mean make it look like the top level domain? Cause if so, do you have a link I can read a little about? I'm thinking of deploying my own lemmy instance.
eh@nerdbin.social · 2 pts · 3y
It's possible by having the webfinger endpoints at the "root" while keeping the rest of Lemmy on a subdomain. The main thing that determines the domain in your username is webfinger.
No clue if Lemmy or kbin support this config though, but quite a bit of the microblog-only parts of fedi do, and it's a widely used thing.
gentoo_biscuit@thelemmy.club · -1 pts · 3y
@remindme@mstdn.social
poVoq@slrpnk.net · 8 pts · 3y
Not impossible but difficult. I would recommend against it.