Solved

help with slow website issues

Posted on 2008-10-28
4
227 Views
Last Modified: 2013-11-05
I've never run into anything like this before.

We are seeing an issue with one of our websites. Pages of the site load extremely slow. However, this is only when you type the domain name into the browser. If you use the ip address of the server then the pages load very quickly. The difference is not small. With the IP address, a database intensive page will load in under 10 seconds. On the other hand, with the domain name the same page can take as much as 10 minutes and in some cases the page just stops loading.

Any help or guidance appreciated.
0
Comment
Question by:Hube02
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Rowley
ID: 22829324
Could be that you have hostname lookups enabled on your web server. What OS/web server software are you using?
0
 
LVL 18

Author Comment

by:Hube02
ID: 22830839
This site is hosted on IX Webhosting. I need to contact them, but their support really sucks lately.

This is what we have. We have the same host name set up on two different accounts. One is the old site and the second is the new site. There are no problems with the old site and there are no problems accessing the new site by IP.

When they re-point the domain name to the new IP this is where the problem happens. There is still no trouble with accessing the site by IP, but, there is a problem accessing it by domain name. We are thinking that the server is having an issue with the two domains of the same name on the same provider??? but this is just a guess, like somehow the host is getting lost as to what it should serve. Eventually, the new site does appear, but it takes anywhere from 5 to 10 minutes to display a page that takes under 10 seconds to display when accessing by IP.

Any way for me to determine if this host name lookup is enabled? Should I contact the provider and see if they can help with this?
0
 
LVL 13

Expert Comment

by:Rowley
ID: 22830923
You should most definately get in touch with your hosting company to get this resolved. You could also check that your DNS is configured correctly.
0
 
LVL 18

Accepted Solution

by:
Hube02 earned 0 total points
ID: 22859754
The problem was unrelated to the host, server, or dns. the problem was in how php was getting information. Rather than looking in the local file system the script was actually using http calls to the same server to get image information, to be specific it was using getimagesize('http://www.domainname.com');. I corrected the problem by accessing the images directly using local file commands rather then the above.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ESXi unable to add blank new local Server LUN ? 12 75
File Server backup 7 57
HP ML PROLIANT M350P Gen 8 + Virtualisation 5 61
Identify bottom to remote server 2 31
Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now