Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

peuf's avatar
Level 1

DNS points to old server

I changed the DNS for my domain today and it keeps pointing to the old server. I cleared DNS and caches on chrome, windows and in https://developers.google.com/speed/public-dns/cache and it's still not working.

When I use a VPN or private mode on safari everything works fine and it points to the right server. I tried every solution online, any other suggestions? (it's urgent the website needs to be up asap)

0 likes
7 replies
jaseofspades88's avatar
Level 51

Propagation of DNS can take up to 24/48 hours. How long ago did you change the DNS? Which DNS records did you change?

1 like
peuf's avatar
Level 1

@jaseofspades88 Thanks for the fast response. I changed it 1 hour ago. I changed the DNS in the domain name which was previously pointed to a free host. Now I pointed it now to a shared hosting server I just subscribed to.

Snapey's avatar

@peuf you cannot retrospectively change dns ttl.

Domain servers that have previously learned the ttl have to wait for it to expire before they ask again

1 like
jaseofspades88's avatar

Don't be surprised if it can take longer than an hour to propagate, @peuf. As alluded to by @snapey, there's a chance you've also got a long TTL. If you've done everything correctly, all you can do is wait... or sit there, aggressively refreshing and hoping it resolves quicker...

1 like
Snapey's avatar

Also bear in mind that your experience might differ from your visitors. A new visitor to your site might get the new address immediately whereas your DNS will be showing old info for some time.

1 like
peuf's avatar
Level 1

Thanks a lot everyone, very grateful for this community! The issue was solved in 5-6 hours as you said @snapey @jaseofspades88

1 like
jaseofspades88's avatar

Glad to hear, @peuf. By all means close the thread to help people out in future!

1 like

Please or to participate in this conversation.