Hello everyone!
I Have RB4011iGS+ with RouterOS 7.11.2
I currently have two physical servers and just one internet connection with 1 IP. On one of the servers, I'm hosting a web application accessible through the domain www.sistema1.com, and on the other, an application accessible via www.sistema2.com.
Right now, I have a NAT rule set up that directs all traffic arriving on port 80 to one of the servers. However, now that I have two web applications, I'm looking for a way to route the traffic dynamically based on the domain the client is trying to access.
In essence, when a client accesses www.sistema1.com, I want the traffic to be directed to server 1. And when a client accesses www.sistema2.com, the traffic should go to server 2, even though both are using port 80.
How can I set up conditional NAT to route traffic correctly based on the domain accessed by the client?
Maybe Layer 7 ?
Thank you in advance for your assistance!