Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I think this question is not first but all what I see don't useful for me. Ok, for example I have my network behind NAT where I want setup two http servers on the different hosts. How I can perform routing? How I understand I can forward all traffic which came to 80 port on service which can handle request forwarding by domain's name, but which service can do this?

p.s And yes, I dont wanna vpn )

share|improve this question

closed as not a real question by EEAA, kce, mdpc, Ward, Khaled Jan 17 '13 at 7:46

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

For HTTP you need a reverse HTTP proxy which would parse incoming HTTP requests and pass them to different backend servers according to the Host header (and maybe even path — so you can serve and from different backend servers if you need).

You can use either a specialized proxy software which supports reverse proxy operation (Squid, Varnish, …) or an HTTP server with reverse proxying capabilities (nginx, Apache, …). Most of them can also perform other functions like caching and load balancing in addition to simple proxying.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.