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

How to configure on Windows 2003 server such that:-

  1. when I access my website on the server, it uses IP address A.A.A.A
  2. when my program runs it uses IP address B.B.B.B

Both A.A.A.A, B.B.B.B is configured on 2 different physical network interface on the server.

The reason for this is, my program is physically connected out from a particular network interface to reach another server. But I need the website to be using another network interface bacause that is where user will be accessing from.

Users <---> [Inf 1:Access website] MY SERVER [Inf 2:my prog to Svr A] <---> Server A

Thanks in advance.

share|improve this question

Bind the web site to the IP address of the appropriate NIC in the properties of the web site.

share|improve this answer
thanks for the reply, i tried this but when i launch the webpage its still pointing to B.B.B.B – arthur.aoife Apr 8 '11 at 6:27
Try stopping and restarting the web site. If that doesn't work then stop and restart IIS. – joeqwerty Apr 8 '11 at 12:54

The easiest way is to simply have 2 URLs for the site in DNS, one that points to A.A.A.A and another that points to B.B.B.B and then bind them appropriately in IIS.

Alternatively, you could also simply use http://localhost when accessing the site from the server itself and bind that to the proper IP.

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.