Assume I own a domain, mynetwork.info. I mapped *.mynetwork.info to my public IP address given to me by my ISP. Assume the IP address lease is static or long term.
When the traffic reaches my router after DNS lookup and discovery of my public IP address, I want to route request as following.
If the URL is computer1.mynetwork.com, forward it to computer 1 on the private LAN.
If URL is computer2.mynetwork.com, route to computer2 on the private LAN.
How can I achieve this? I know port forwarding. Is there another way? Does the request that reaches my router after IP address resolution even contain what name the client was even hitting?