Elektrine lite

← Feed

@jws_shadotak@sh.itjust.works

What path does data take when connecting to a domain at my address?

2026-06-28 23:06 UTC

I have some subdomains that go to my home address (I know I should put it through a VPS first but I’ll get to that when I have time). If I connect to example.domain.tld and DNS records point back to my own IP, where does that data go to reach back to my device? Edit: thanks for the responses everyone

Replies (3)

  • @yaroto98@lemmy.world 2026-06-28 23:19

    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.

    Open ##3619749

  • @Kolanaki@pawb.social 2026-06-28 23:55

    This is something you can easily do from the command terminal. For Windows, use Tracert. Linux and Mac, maybe even iPhone and Android have their own commands to run a trace route, too (I don’t know them off the top of my head).

    Open ##3620850

  • @OboTheHobo@ttrpg.network 2026-06-29 05:37

    DNS request will go to the DNS server but from what I can tell the packet wont go anywhere else. At least on my own network, traceroute gives only one entry and its the final destination. I assume this is because the router knows its own public IP and as such knows the packet doesnt need to be sent anywhere else.

    Open ##3632102