LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Server Setup? (https://www.linuxquestions.org/questions/linux-networking-3/server-setup-514430/)

mikesjays 12-28-2006 05:41 PM

Server Setup?
 
Is there a way to run 2 web servers behind a firewall. I know you can run vurtial on the same machine. I would like to have 2 web servers running on the same router but I don't know if there is a way to use the host name in the routing. Here is what I'm talking about

Server #1 : myserver.mydomain.com:80 - inturnal ip 192.168.1.2
Server #2 : yourserver.mydomain.com:80 - inturnal ip 192.168.1.3

Is there a way to tell the router where to send the incoming request?

here2serve 12-28-2006 07:49 PM

multiple servers behind nat
 
Your apache server upon install, if its set up as local host will respond to all requests. Once a domain name is asigned it will only respond to requests addressed to it.


All times are GMT -5. The time now is 03:10 AM.