Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Let's say, I have a server which is directly connected to the internet (no firewall), and sits on 66.77.88.99 externally and internally sits on 192.168.0.1. I have my domain's records set up so that mydomain.com points to my external IP.

I also have another server, which sits on 192.168.0.2, but is only accessible internally, as I only have 1 external IP address. I have forwarded server2.mydomain.com to my external IP, but of course, it points to my first server.

Is there a way, to possibly route the traffic coming from server2.mydomain.com to the other server? I have been reading about this, but it's not very clear, using Microsoft ISA Server.

Thanks in advanced.

I would choose between the two servers with domains

server 1 - server1.mydomain.com

server 2 - server2.mydomain.com

share|improve this question
    
try to use some kind of reverse proxy. –  Boban P. Dec 26 '11 at 9:09
add comment

1 Answer

up vote 2 down vote accepted

Two solutions:

  • reverse proxy (apache, squid...) facing your internet connexion, which will forward the requests to the corresponding webserver.
  • Hosting the two websites on the same webserver and use two virtualhosts.

There is plenty of tutorials on the net which will explain to you how to do.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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