I Changed Web Hosts and Now My Site has Issues

Discussion in 'Site & Server Administration' started by JDDunn9, Feb 9, 2008.

  1. #1
    About a week ago I changed my site to a different company's dedicated server. I updated to the new DNS and migrated the servers. Now I have two problems. Occasionally I can't access the site. It shows up as "Server not found" for me, but everyone else seems to be able to access it fine, I can even access it via a proxy server, just not from my standard connection. Also, (only on occassion) it shows errors where I put PHP include statements as

    Warning: get_content() [function.get-content]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in [filename]

    Any idea what could have happened when I switched servers? It's been long enough for the DNS servers to updated so I'm not sure what could be wrong.
     
    JDDunn9, Feb 9, 2008 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    2 different problems

    not reachable after server move = nameserver NOT all updated
    while 24 hrs is normal in MOST situations - I had a major EU ISP once needed several days ( I belief it was more than 4 days) until NS updated.
    different locations = different NS - some updated some may be NOT ...

    to always have reliable results:
    use YOUR own NS in your laptop/desktop - if you have linux its simple !! and a matter of minutes ( in openSuSE ).

    your PHP problem
    check PHP versions you have NOW vs your previous version
    also verify your current/previous apache versions

    different host = possibly different PHP/apache versions = problems
    I had solid problems when moving to modern dedicated server in 2006.
     
    hans, Feb 9, 2008 IP
  3. LittleJonSupportSite

    LittleJonSupportSite Peon

    Messages:
    386
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    In regards to the name resolution error, I know it's old but verify PHP version because there was a bug:

    http://bugs.php.net/bug.php?id=27509

    Second, a week should be more then enough time for full propagation.

    However you should try doing an nslookup using your current ISP's name servers vs. another.

    See if you get the same result if not then your ISP is slow a s dog poop and it is still caching old info and you will need to wait some more.

    No shot you accidentally put this site into your hosts file and it is resolving there by accident right?
     
    LittleJonSupportSite, Feb 9, 2008 IP
  4. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #4
    NS propagation across the planet
    my last move 2006 - after 7 days I still had some 10% traffic to my old server .....
    I redirected all traffic from old to new after one week to end the waiting time for NS updates.
    hence there apparently are many far slower than normal.
     
    hans, Feb 9, 2008 IP
  5. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #5
    as other mentioned, the reason for you could not reach your sites sometimes might be the dns propagation. I even saw an ISP needs 1 month for updating their cache. You might want to give opendns a look.

    For php issue, do you still keep the old server? If yes, the easiest way to resolve it is comparing phpinfo of both. Then you can re-compile php on the new server
     
    gate2vn, Feb 9, 2008 IP