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.

I have a website which I have hosted on Windows 2008 R2 Dedicated Server.

Now, I have problem is my site taking almost 30 second to connect it through it's domain name any ".asp" pages. All other html and ".js" work fine so I don't think there is any dns issue.

But when I access those same pages with server IP address it opens in a second.

So the problem is opening any "Hello World" ".asp" page through domain name it takes almost 30 second.

Please advise me.

Server: Windows 2008 R2 Xenon DUAL CPU IIS 7

share|improve this question
    
If you have Server 2008 R2, you have IIS 7.5, not 7 –  MDMarra Dec 3 '11 at 20:19
    
I agree with kubanczyk below: this definitely sounds like a DNS-related slowdown from a reverse lookup somewhere in the chain. Are you logging remote client hostnames to your IIS logs or just IPs? Is the IP address you're coming from to the server something that can be reverse-looked-up? Are the JS and ASP files you're testing with in the same directory? Is the JS file being cached by your browser? –  daveadams Dec 4 '11 at 13:56
add comment

5 Answers 5

Seems like a DNS issue. Try to troubleshoot with:

nslookup your.url.com
nslookup 1.2.3.4     # bare IP address
ping your.url.com    # ping uses a system DNS resolver, so it differs from nslookup

Do this on both the client and the server.

share|improve this answer
add comment

30 seconds is the tipoff - Your workstation has multiple DNS servers configured; the first is not working, and it takes 30 seconds to give up on that one and try the next. Try the troubleshhoting steps above, and also:

nslookup your.url.com 4.2.2.2

(Really type 4.2.2.2, it's a public DNS server)

share|improve this answer
add comment

Try to use Google's public DNS servers (8.8.8.8 and 8.8.4.4) to see if it's a problem with the DNS servers you're currently using.

share|improve this answer
add comment

I would advice you go with a managed DNS. They are usually more reliable than hosting your own and of course faster.

share|improve this answer
add comment

Have you tested your site for performance holes, means your components like attached css, js, images can be on subdomain with different IP. I dont know the name of your website to tell you the actual problem, but suggest you to check website performance holes in http://zingro.com/. It may be helpful.

share|improve this answer
    
Welcome to Server Fault! Please read our faq in particular May I promote products or websites I am affiliated with here?. –  Iain Jun 6 '12 at 6:28
add comment

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.