Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've just moved a site from one server to another. Both servers are under the same Media Temple account - so the nameservers haven't changed, just the IP address.

To help verify the move has taken place, I added a hello.html to both servers, which says 'Hello from the (NEW / OLD) server', respectively.

On my laptop, Chrome indicates it's seeing the new server. Firefox, Opera and Safari still say 'hello from the OLD server', despite hard refreshes, cache clears, etc.

Using the IP lookup tool at http://www.hcidata.info/host2ip.cgi, ALL browsers indicate the domain name is pointing to the NEW IP address, despite some of those same browsers showing the OLD hello.html page.

I know DNS changes can take time to propagate, and during that time you can get varying results from different locations. But this is all testing from the same computer.

Any idea as to what's going on? And how to ensure all browsers point to the version of the site on the new server?

======

UDPATE:

So I connected from a different place (work, not home) and everything started seeing the latest version. Then, when I returned home, the latest versions stuck. So, it's all working. I'd still be interested to find out what specifically the issue was before - but I'm guessing it's unlikely I'll ever know for sure!

share|improve this question
    
Restart the browser(s). –  Michael Hampton Dec 13 '13 at 20:51
    
no luck with restarting the browsers... same situation. –  joshua.paling Dec 13 '13 at 21:03
    
Are you using a proxy at all? –  GardenMWM Dec 13 '13 at 21:36
    
nope, no proxy. –  joshua.paling Dec 13 '13 at 22:22
1  
I notice you haven't mentioned what the OS you're accessing the website with is. Your OS can cache domain names as well. On windows ipconfig /dnsflush should work. –  Journeyman Geek Dec 14 '13 at 7:46

2 Answers 2

up vote 0 down vote accepted

I notice you haven't mentioned what the OS you're accessing the website with is. Your OS can cache domain names as well. On windows ipconfig /dnsflush should work. I'm having trouble finding a definitive way on linux - there's a half dozen different ways to do this - some listed on the U&L question, but none seem to do anything on my test system.

Another possible thing might be your router caching domain names - talk to your network admin about this.

According to the OP on OS X sudo killall -HUP mDNSResponder should work on OS X 10.7 and 10.8, and on Mavericks its `sudo killall -HUP mDNSResponder - he referenced this OS X daily article

share|improve this answer

Have you tried clearing the cache on all the browsers that go to the old website. It's definitely a browser issue where it's caching some information, since your DNS is working fine (pointing to the new server)

share|improve this answer
    
Yes, I thought it must be a cache thing, but I did try disabling and clearing caches. –  joshua.paling Dec 13 '13 at 22:25
    
Clean uninstall the browser and reinstall, meaning removing every file that is potentially associated with the browser. I suspect stale entries in the cache. –  Rico Dec 13 '13 at 22:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.