Elektrine lite

← Feed

@yaroto98@lemmy.world

Post #3619749

2026-06-28 23:19 UTC

Depends, you can set it up a few different ways. you can set the dns so each subdomain resolves to a different port with your ip, in which case your router can forward that port to any local address on your network with port forwarding rules. reverse proxy, this is most common. You use a service to do the translating for you. Your router forwards all requests on port 80 and 443 to your reverse proxy. The reverse proxy takes requests for subdomain1 and forwards it to the associated ip/port locally.

Replies (2)

  • I have a reverse proxy set up already. The path from the outside goes: DNS -> my IP -> reverse proxy -> server I’m just wondering what happens when my own devices on the same network go to the domain.

    Open ##3619748

  • @4am@lemmy.zip 2026-06-29 03:59

    Can you set a port on DNS services that don’t typically use an SRV record (like Minecraft does, for example)? I think I tired to figure this out once but couldn’t get it to work with web browsers. Ended up just looking at the HTTP request to find the subdomain and then routed from a reverse proxy as appropriate…

    Open ##3622309