If I have this kind of network:
ISP -> WAN (CCR1009) -> Switch -> Server1 and Server2
IPs: wan: x.x.10.5/32
Lan: 10.10.10.1/24
server1: 10.10.10.2/24
server2: 10.10.10.3/24
As I only count with one public IP address I want to know if it’s possible to dst-nat port 443/80 to server1 if firstdomain.com gets requested and to server2 if seconddomain.com gets requested.
On my domain registrar I already pointed the A records for both domains to x.x.10.5 but don’t know if it’s possible to select a different server to ports 443/80 be reachable from the same external/public IP