When you move your website to a new hosting provider (like Radib’s cPanel or DirectAdmin hosting), there’s one crucial step many users overlook: clearing your local DNS cache.

Your operating system (Windows, macOS, or Linux) temporarily stores — or “caches” — the IP address of websites you visit to speed up future access. This is called DNS caching. But after a hosting migration, this cached data can trick your computer into connecting to the old server—even if your domain’s DNS records have already been updated worldwide.

Quick Fix for Windows Users: FlushDNS

To solve this, simply clear your local DNS resolver cache using this command in Command Prompt:

ipconfig /flushdns

Here’s how to do it:

  1. Press Win + R on your keyboard.
  2. Type cmd and hit Enter.
  3. Paste the command above into the Command Prompt window and press Enter.
  4. If you see the message “Successfully flushed the DNS Resolver Cache,” you’re all set!

 Note: This only clears the DNS cache on your own computer. Other users may still see the old site for hours or even days due to ISP-level caching—a process known as DNS propagation, which can take up to 48 hours globally.

Why Just Changing DNS Isn’t Enough

Many assume that switching hosts and updating DNS records is sufficient. But without flushing your cache—and without choosing a reliable host—you risk days of errors, downtime, or partial site unavailability for some visitors.

That’s why selecting a hosting provider with 99.9% uptime, fast support, and optimized servers in strategic locations isn’t optional—it’s essential.

 Ensure uninterrupted website performance by choosing professional hosting. Radib’s cPanel and DirectAdmin hosting plans run on top-tier data centers in Iran and Europe, featuring free SSL, DDoS protection, and 24/7 expert support.

Get cPanel or DirectAdmin hosting from Radib

 Haven’t registered a domain yet? Or want to pair your existing domain with a powerful new server? With instant domain registration at Radib, you can launch your site in under 5 minutes—complete with domain and hosting.

Register a domain instantly — 500+ global TLDs available

 Need full server control or running a high-traffic online store? A Virtual Private Server (VPS) is a smarter choice than shared hosting. Radib’s KVM-based VPS offers dedicated resources, rock-solid stability, and zero lag—perfect for growing businesses.

Buy a VPS in 21 countries — Iran, Germany, USA, Singapore & more

Final Thoughts

Website migration doesn’t end with a DNS change. Flushing your local DNS cache (using ipconfig /flushdns) is a small but vital step to see your new site immediately. But long-term success starts with choosing a dependable hosting partner— one that guarantees speed, reliability, and responsive support.

With Radib, you can get your domain, hosting, and VPS—all in one place—and focus on your business with complete peace of mind.

 

Was this answer helpful? 1 Users Found This Useful (1 Votes)