Solved

help with slow website issues

Posted on 2008-10-28
4
215 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Patch Management is administrated by page 129 of  the following document:     http://support.dell.com/support/edocs/software/smdmc/11/en/ug/ug.pdf However, there are issues with Patch Management with FTP (for instance, a slow Internet connectio…
Learn about cloud computing and its benefits for small business owners.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

19 Experts available now in Live!

Get 1:1 Help Now