My configuration [ OpenWRT on my Router ] [ Centos 6.4 , Apache 2.4.6 - Machine A ] [ Centos 7, Apache 2.4.6 - Machine B ]
I've 1 IP address pointing to my OpenWRT Router. I had 1 WebServer running websites. and I added a second physical machine to host websites.
Website=WS
External IP --> 10.1.1.1 - OpenWRT Router
10.1.1.121 - WebServer A | WS.1, WS.2, WS.3
10.1.1.131 - WebServer B | WS.6, WS.7
I set up Port forward on the router. The rule on top takes over the other one. let say if the rule forwarding to 10.1.1.121 is first that will take over the other and I'll see WebSites from Webserver A and not websites hosted on WebServer B and vice-verse.
Any idea how can I see Websites from both Machines? I dont mind if I need to setup a proxy, or DNS server or any other software but I couldn't figure what is the best solution for this scenario.
I don't want to ask/get for another IP address neither pointing to my router.
BTW: The Setting with only one Machine either WebServer A or B ( just one machine with Apache) runs well.
Thanks in Advance.