Hello.
Yesterday I made a nameserver change to make nunoo.dk show a new website that is on my Digital Ocean server. It’s a Nginx + Nodejs setup. The thing is, when I ping www.nunoo.dk it’s actually sending and receiving on the correct IP address (my DO one), but when I ping nunoo.dk (without www) the request timeouts and the IP is an old one.
I’ve created A records for both with and without www, and I’ve also redirected www. to non-www via Nginx.
The website is showing an old one. But - before I made the www to non-www redirect in Nginx, I could get the new website to show by using www.nunoo.dk.
I’ve checked the nameservers, and they look correct, and also, when I use a DNS tool (https://mxtoolbox.com/Supertool.aspx?action=a:nunoo.dk:all) everything looks OK.
Do I just have to wait, or what should I do now?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
This sounds to me like you were experiencing some odd results while your changes propagated. DNS resolvers used by ISPs cache results for a while so they don’t have to go back to query the authoritative nameserver for every request and while this is usually not too long during the time when your ISP has an older record and when it updates to fetch the new one you may see some issues like this.
My own testing shows your site working properly both with and without the www at this time.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.