Question : primary ip address for a server?

Hello there,
      I have a windows 2003 Server Web Edition. The server has 2 NICs with different IP addresses for two different subnets. I have a bunch of websites hosted on this server and 1 that I'm having a particular hard time with. I'm getting file not found errors when I try to access a file that's available. The website has some code that calls a database and then it tries to access a file. To other machines the ip address is the address that's on 1 NIC, to the server itself, the ip address is the address on NIC 2. I think the problem could be that the clients can't speak to the server using the IP Address of NIC 2 and the host is sending that information to the client.

how do I get the server to recongize itself as the IP address of NIC2 instead of NIC1?

Answer : primary ip address for a server?

The problem I believe is in the code most likely. The server knows it has two NICs but if the request does NOT request or send a packet to the secondar subnet then the server will not try to go through the secondary NIC. The server must see the request to go to the secondary subnet and if it doesn't it will use the primary NIC.
Random Solutions  
 
programming4us programming4us