1

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

Driftpeasant
  • 3,207
  • 2
  • 20
  • 28
HMP
  • 21
  • 1
  • If you have Server 2008 R2, you have IIS 7.5, not 7 – MDMarra Dec 03 '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 04 '11 at 13:56

5 Answers5

3

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.

kubanczyk
  • 13,502
  • 5
  • 40
  • 55
3

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)

eventi
  • 231
  • 1
  • 4
2

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.

pauska
  • 19,532
  • 4
  • 55
  • 75
Kevin
  • 87
  • 1
  • 7
-2

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

Dragos
  • 349
  • 1
  • 2
  • 11
-3

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.

  • Welcome to Server Fault! Please read our [faq] in particular [May I promote products or websites I am affiliated with here?](http://serverfault.com/faq#promotion). – user9517 Jun 06 '12 at 06:28