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.
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.
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?
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.
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