Server traffic

I would like to ask if it is possible to route the traffic from two domains to one Public IP address but not only that, behind the public ip address  i am using NAT.
Inside the NAT network i have two servers with local ip addresses ,so what i want is a way to distinguish the domains that are coming to the public ip address and to route the traffic to the dedicated server with local IP addresses, something like DMZ but in that way that the traffic goes to two or more servers depending on the domain that was requested by users.I want that the whole traffic is splited in that way not just few ports.
Does any one know if this is possible or if there is a service available that can do that?

many thanks in advance
Who is Participating?
Leon FesterSenior Solutions ArchitectCommented:
Sorry, I've no experience with this router but I did a quick search and found the following:

The two key words you should be looking for is "port forwarding" or "edge router".
Port forwarding is the service/facility for directly external traffic to your internal IP's.
Edge router is the role that the router fulfills on your infrastructure, So basically any firewall that seperates your internal and external networks would be configured as/or called  an edge router.
Leon FesterSenior Solutions ArchitectCommented:
It's not that hard to configure. You'll need to configured some rules on your firewall, but essentially you'll be creating a listener that will read traffic on port 80 and then depending on the site you'll be transferred to the appropriate internal server.

Most of my experience in this regards is with ISA server, so have a look at publishing mulltiple sites on a single IP on

Even if you're not using ISA server you should be able to adapt the rules for ISA to your own firewall.
tafilAuthor Commented:
Many thanks for your answer
Well ISA server is not free and it take a lot of resources, do you know any open source tool?
Do you know any example on the internet?
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Leon FesterSenior Solutions ArchitectCommented:
The setup for this kind of routing is specific to your Firewall appliance.
If you know what firewall your Company is using the search their website for info.
Most commercial firewalls should be able to do this, although the services may be named differently.
tafilAuthor Commented:
Do you have any experience if this feature is available for vyatta routers and do you know how is it called so i can search on the internet.  

tafilAuthor Commented:
I forgot to add i want to forward the whole traffic(also all ports) not only the HTTP traffic.
For example when a user telnet,ftp,ssh etc to a domain he should be routed to Public IP and the router should route him  to a specific Machine inside the NAT based on the domain the the user entered.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.