this post was submitted on 20 Jul 2023
2 points (66.7% liked)

Selfhosted

38849 readers
216 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hey guys, it's me, Bizzle. I'm a tech hobbyist, but I think I'm a little out of my element here and I'm hoping you can help.

I have a ProxMox server at home, part of it is running Lemmy. I want to make the rest of it run NextCloud. I have a domain name, but I only have one IP address. Therefore, lemmy.moorefam.net points to my house and I forward the port from the VM running Lemmy.

What I want is for nextcloud.moorefam.net to point to a different VM, on my home network. But I don't know how to set that up.

Thanks in advance, Bizzle

you are viewing a single comment's thread
view the rest of the comments
[–] notdeadyet@lemmy.dbzer0.com 9 points 1 year ago (1 children)

You will need to run a reverse proxy on one of your VMs ( I use Caddy, it's very simple), and forward port 80/443 to your reverse proxy.

Within your reverse proxy, you can tell it what port corresponds to which address and it will send you to the right service.

This is obviously an oversimplified answer, but there are many Caddy guides and I can help you with any specific questions.

[–] Voroxpete@sh.itjust.works 3 points 1 year ago

+1 for Caddy, it works great and it's super simple.