Comment on What path does data take when connecting to a domain at my address?
NarrativeBear@lemmy.world 2 weeks agoWhat you are looking for is something called NAT Reflection/HairPin NAT/NAT loopback.
When you search for a “domain.example.com” your router loops you back at your reverse proxy and all the traffic remains “internal”. Your website will still be externally accessible (the ones you setup to be).
Here’s a example of how to set this up on PfSense router.