this post was submitted on 16 Jun 2023
4 points (100.0% liked)

Self Hosted - Self-hosting your services.

506 readers
2 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] RiotEarp@lemmy.studio 1 points 1 year ago* (last edited 1 year ago) (1 children)

Good to know and I was hoping that's the case. As soon as my new domain resolves I'm going to install lemmy, matrix, and funkwhale.

Are you running all of yours in containers?

[–] Swimmerman96 1 points 1 year ago

All of my services are in containers, I use Docker usually via Docker Compose. That gives me one file to establish all of my services, update/start/stop/check logs with consistent command formats for all services, and keeps the data separate from the application. If I need to rebuild, put a backup of my data in the right spot and change names in filepaths as needed, run a backup of the Docker Compose file and I'm up and running again.

The only things I don't have in a container is Fail2Ban on my rented, public facing server to minimize noise of bots trying to login.