I am not sure if it is possible to configure one windows server and one linux server using only on static IP address. [Note:I have two CPU's each of 2GB RAM, One modem-router and one static IP address.]
|
migrated from stackoverflow.com Apr 23 '12 at 14:30
|
what do you want to acchieve and how are you failing? do you want the servers to talk to each other? both of them to be online? both of them to be reachable from the internet? if they only need to talk to each other, assign them two different static IPs in the same subnet and connect them via a network cable (possibly via the router) if you want to have both hosts to be reachable from "outside", you will most likely need NAT and port-forwarding, where one port on the router is forwarded to a specific host in your private network; note that a given port can only be forwarded to one single host at a time, so you cannoth run a webserver with default port 80 (which is the port that every webbrowser will use if you specify an ordinary http-URL) on both your linux and your windows server. |
|||||
|
|
You will need a reverse proxy, something along these lines:
|
|||
|
|
|
The easiest solution would be to get another IP address. You definitely need to set up NAT somehow, in your firewall or router. Forward inbound web traffic to either a proxy server such as SQUID http://www.squid-cache.org/ or your apache server, using mod_proxy. Here's a link to get you started on that. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html |
|||
|
|