I’m interested in setting up my own instances for Lemmy, Mastodon, and Matrix.
Can I use the same https://domain.tld for all of them without any subdomains?
For example:
lemmyuser@mydomain.tld
mastodonuser@mydomain.tld
matrixuser@mydomain.tld
Will this work across all of my self-hosted instances, or do I need to append a subdomain for each, e.g., lemmyuser@lemmy.mydomain.tld?
Matrix (or even easier XMPP) can coexist on the same domain with Lemmy or Mastodon, but with two ActivityPub services that is AFAIK not possible.
Regardless of configuration, you still need to access the instance from mastodon.mydomain.tld or lemmy.mydomain.tld, but you can configure the Mastodon to use @mastodonuser@mydomain.tld as its identifier by setting
WEB_DOMAIN
tomydomain.tld
.Mastodon documentation on the topic: https://docs.joinmastodon.org/admin/config/#web_domain