0

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.

HBruijn
  • 77,029
  • 24
  • 135
  • 201
arthur.aoife
  • 1
  • 1
  • 1

2 Answers2

1

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

joeqwerty
  • 109,901
  • 6
  • 81
  • 172
0

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.

Dave Wise
  • 336
  • 1
  • 3