Solved

help with slow website issues

Posted on 2008-10-28
4
254 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
Power and BTU ratings calculation 13 109
Dell server memory configuration on R410 9 159
Setting up RAID5 on HP ProLiant DL380G5 15 107
Server overheating 7 56
Requirements: root access via SSH, telnet, or other.. Alternately, access from the server administrator to run a counter-strike server, and the proper access rights to do so. Enough free disk space (and allowed to use this much, eg disk quota): 6…
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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