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?
I think subdirs would break the whole fedi handle system; deafboy@deafboy.social/masto wouldn’t make sense to most clients.
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.
I’d prefer something like SRV dns records, but that’s not an option here.
It looks like there is a way to run Mastodon on subdomain.example.com, while having user ids in user@example.com 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.
Yes, but at least one of the services must be using a subdomain.