this post was submitted on 17 Jul 2023
22 points (100.0% liked)

Fediverse

27910 readers
1 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

I'd like to self-host Lemmy or kbin and mastodon. I know I could use different subdomain for each, but I'd much rather keep it short. Something tells me, however, that other instances might not be happy about it.

Is it doable?

all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 1 year ago (1 children)

Could just do like I do and make it lemmy.whatever.tld and mastodon.whatever.tld

[–] [email protected] 8 points 1 year ago (1 children)

This is more or less what my instance blahaj.zone does. blahaj.zone is calckey and lemmy.blahaj.zone is lemmy.

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

Hello fellow blahajian

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

I think subdirs would break the whole fedi handle system; [email protected]/masto wouldn't make sense to most clients.

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

yes you can use the same domain, but you may need different subdomains for everything to work happily.

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

It looks like there is a way to run Mastodon on subdomain.example.com, while having user ids in [email protected] format. https://github.com/felx/mastodon-documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md

But since I have no idea how lemmy addresses users from other instances, this might not work for me.

[–] [email protected] 2 points 1 year ago (1 children)

By no means an expert but how do you want to set it up? Different subdomains or folders?

I think subdomains are actual FQDN’s and will not cause issues. Folders might be an interesting experiment.

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

pretty sure federation protocol is looking for :

i haven't seen instances use a sub-directory

[–] [email protected] 2 points 1 year ago (1 children)

How is that going to even work, technically?

I think you should try it out just to see what happens. Worst case it doesn’t work, and if it does work there’s a good chance you’ll uncover some bugs that need fixing.

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

I'd prefer something like SRV dns records, but that's not an option here.

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

Yes, but at least one of the services must be using a subdomain.