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 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.]

share|improve this question

migrated from Apr 23 '12 at 14:30

This question came from our site for professional and enthusiast programmers.

It sounds like you're looking for Network Address Translation: -- google the make/model of your router and the word "NAT". – NPE Apr 23 '12 at 11:55
up vote 0 down vote accepted

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.

share|improve this answer
some of my ASP dot net sites are hosted on windows server and other sites are hosted on linux server. Those hosted on windows server are licensed and those on linux server are open source site. – veer712 Apr 23 '12 at 12:32
in this case you would need a proxy (see the other posts); however, i don't think that you will need two separate machines in order to be able to host free+nonfree ASP sites (i'm sure there are a number of linux webservers out there that run closed-source proprietary services as well as windows servers running open source sites) – umläute Apr 24 '12 at 6:57

You will need a reverse proxy, something along these lines:

  1. Assume that the Windows web site is named and the Linux web site is named

  2. DNS entries for and both point to the same static IP address.

  3. NAT forward to the Linux box.

  4. The Linux box's web server will be configured with name virtual servers for and will be served directly. will be reverse proxied to the Windows machine. (How this is done will depend on your web server software).

share|improve this answer

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

or your apache server, using mod_proxy.

Here's a link to get you started on that.

share|improve this answer

Your Answer


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.