Solved

help with slow website issues

Posted on 2008-10-28
4
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hyper-convergence systems have taken the IT world by storm and have quickly started to change our point of view of how the data center should and could be architected. In this article, I’ll explain the benefits of employing a hyper-converged system …
this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

628 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