Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are experiencing some issues on our IIS server and are trying to narrow down the problem. Basically a site becomes unresponsive to the web. But if we put the domain name (in the hosts file due to local dns issue) on the web server it self the site works fine. So the hosts file has something like:

192.123.123.170 mysite.com

The IP being one of the IP's on that machine with IIS website setup to listen on port 80 on that IP.

My question is will the request go through the NIC card if (on the web server) we browse to mysite.com or will it know that it is on the local box already.

What we are trying to figure out is why the site will work on that box but not remotely, either on the local network or through the load balancer to the web. We do not have direct access to the hardware so need to remove as many possibilities remotely as we can.

Thanks

Jon

share|improve this question

3 Answers 3

up vote 3 down vote accepted

It won't go through the card no, it'll stay 'in machine' - sounds like you have a problem from the NIC 'downwards' (i.e. the NIC itself or switches, routers etc outside the box).

Try swapping the NIC, cabling, port etc. one at a time.

share|improve this answer
1  
Brill thanks. That's what we are coming to think, but need to prove it, client also does the hosting, little delicate situation. –  Jon Jan 15 '10 at 14:29

The request will not leave the machine. The TCP stack will look at the hosts file first before trying to resolve the hostname using DNS, so the hosts file would still work for local IP addresses/sites even if you were not connected to the network.

share|improve this answer

Can you see if the DNS resolution is proper. Also can you run some tool and see if the http requests are reaching the server.

share|improve this answer

Your Answer

 
discard

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.