Sites load slowly when accessed through domain and fast with IP... help???

Discussion in 'Site & Server Administration' started by sllik, May 23, 2007.

  1. #1
    Some of the sites on my VPS take a long time to load when I access them through the domain name for example: www.officegofor.ca and but they load very fast if I access it through the IP address http://207.58.170.93/

    (access through the domain first and then through the ip)

    What could be causing this?
     
    sllik, May 23, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not sure really, but you do have a problem with your ssl and a pop error happening
     
    cyanide, May 23, 2007 IP
  3. sllik

    sllik Active Member

    Messages:
    419
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    pop error?
     
    sllik, May 23, 2007 IP
  4. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #4
    LOL sorry, I meant popup error... it's been a long week.

    One of those security errors "The name on the certificate is invalid or doesn't match the site name"

    Potential customers may be turned off by that.
    If you're not seeing it, clear up your cache and try or use another browser you normally don't use. (clicking My Account)
     
    cyanide, May 23, 2007 IP
  5. sllik

    sllik Active Member

    Messages:
    419
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    tnx for pointing that out, ill take care of that.
     
    sllik, May 23, 2007 IP
  6. Davidj

    Davidj Peon

    Messages:
    124
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    sllik,

    If the site is only loading slow on the initial load of the domain name and is fine on subsequent loads: It's the result of the initial DNS lookup.

    In most cases DNS lookup load times are the result of the end-user but check your dns speed score on dnsstuff.com anyways :)
     
    Davidj, May 23, 2007 IP
  7. Easytouch

    Easytouch Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    At this very moment, with both the IP and the domain name the complete pagload takes 2-4 seconds from Europe.

    But there seems to be an issue with your Domain DNS records

    [ERROR: I was unable to get an answer from the parent servers [ca02.cira.ca], when I tried to find the NS records for officegofor.ca.]

    source:
    http://www.dnsstuff.com/tools/dnsreport.ch?&domain=officegofor.ca


    Have a look at the technical contact that is managin your domain and the nameservers

    ns1.syscue.com 207.58.130.208
    ns2.syscue.com 207.58.130.209

    source:

    http://whois.ca/
     
    Easytouch, May 24, 2007 IP
  8. zonzon

    zonzon Peon

    Messages:
    100
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #8
    be sure to have your Apache HostnameLookups config at Off. If On, it makes the server to request a reverse DNS lookup for each http access to your server. It just needs to log the IP and it's fast. If you hage log analysis that resolve adress (eg awStats), it don't bother the time it takes. It's prefered to have fast server times.

    Another trick, just do a nslookup www.something.com in command line and check how many times it takes. If it's long, check that names servers in your /etc/resolv.conf are good. If they're not, the server makes queries to them and the time the connection fails is probably higher than a second.

    Another possibility, is what easytouch said in his post.... I've not tried this issue to diagnose your problem...

    Hope that helps you... and good luck!
     
    zonzon, May 24, 2007 IP
  9. plumsauce

    plumsauce Peon

    Messages:
    310
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #9
    The hostnamelookups setting has nothing to do with it because it is recording the source of the connection.

    I think EasyTouch has a point.

    Being that it is CIRA, I would look at the time it takes to load other .ca domains. It would not be the first time that CIRA has had problems. There may be news on their homepage.
     
    plumsauce, May 25, 2007 IP
  10. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Nameservers take long time to respond.

    Thus domain takes long time to get DNS info.

    IPs dont need such thing, thus they are fast!
     
    inworx, May 26, 2007 IP