this post was submitted on 01 Oct 2025
9 points (84.6% liked)
Self Hosted - Self-hosting your services.
16176 readers
27 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
- No harassment
- crossposts from c/Open Source & c/docker & related may be allowed, depending on context
- Video Promoting is allowed if is within the topic.
- No spamming.
- Stay friendly.
- Follow the lemmy.ml instance rules.
- Tag your post. (Read under)
Important
- Lemmy doesn't have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate. This is strongly encouraged!
Cross-posting
- !everything_git@lemmy.ml is allowed!
- !docker@lemmy.ml is allowed!
- !portainer@lemmy.ml is allowed!
- !fediverse@lemmy.ml is allowed if topic has to do with selfhosting.
- !selfhosted@lemmy.ml is allowed!
If you see a rule-breaker please DM the mods!
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's kind of unrelated. You can configure a mail server at mail.mysite.com to handle mail to/from username@mysite.com. You don't need a proxy for that.
If they're all http(s) services, then that should be possible. I don't know anything about caddy, but with apache or nginx you can proxy based on path, so I'd assume you can with caddy also.
For example mysite.com/chat could route to your chat app, mysite.com/webmail route to your webmail app, etc. But this isn't necessarily plug-and-play, because depending on the app you might need to set up proxy rules for cookie rewriting, link rewriting, etc.
If you want to proxy non-http(s) traffic from 1 port to multiple destination apps, then it gets a LOT more complicated.
Doing the
/service_name
thing can get really messy if the web service has non-relative links. It gets very messy trying to do rewrite rules to fix that. Wouldnt recommend it.