We help IT Professionals succeed at work.

Routing Incoming Request To Specific Servers

Medium Priority
411 Views
Last Modified: 2012-06-27
Scenario:

Two Servers, one hosting websites and the other hosting an exchange email server.

2 ISP provided static IP address. One for the web traffic other for the exchange email server.

The applications running on both servers require the use of port 80 and 443. Both servers are also running MAC OSX Lion.

Is the a router or firewall out there that will detect which IP address the traffic came in on and rout it to the appropriate server?

Or am i going about this entirely wrong?

Any ideas on how to get mail.domain.com going to server 1 and domain.com going to server 2?

Comment
Watch Question

System Architect
CERTIFIED EXPERT
Commented:
You need to setup NAT entries on your firewall to tie the public IP addresses to their respective internal private IP addresses.

Almost any firewall/router device will support this.
Aaron TomoskyDirector, SD-WAN Solutions
CERTIFIED EXPERT
Commented:
This is totally normal with any business class router.  I use the sonicwall tz series and my wan has a subnet mask of .224. So I get a bunch of incoming ip addresses. I have each of them setup to go to different servers with firewall rules to only allow certain ports on each.

Author

Commented:
Apple Airport Extreme?
Aaron TomoskyDirector, SD-WAN Solutions
CERTIFIED EXPERT

Commented:
Don't think so.

Commented:
Of course a Cisco router can handle this without difficulty.
Aaron TomoskyDirector, SD-WAN Solutions
CERTIFIED EXPERT

Commented:
You can also run to one server and use server admin "web" service to proxy to the other server for different domain names. I actually do this for all my different port 80 stuff. It won't work for ssl Certs though as those are bound to an ip.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.