Hi,

I have a specific requirement that ther should be one server that is
facing the external world. with ip xx.xx.xx.xx and mapped to dns hosts
1.server.com <http://1.server.com/> , 2.server.com
<http://2.server.com/>  and 3.server.com <http://3.server.com/>

when the server receives request for 1.server.com:80
<http://1.server.com/>  then the request has to be sent to internal
server 1 on privet ip example 192.168.0.1:80

when server receives request for 2.server.com <http://2.server.com/> :80
then the request has to be sent to 2 on private ip 192.168.0.2:80

so on

So how does iptables recognize hostname for port translation instead of
ip as the external server has the same ip.

Can this be attained by iptables or should we use any other like apache.



[Non-text portions of this message have been removed]

Reply via email to