New Domain Not Working or Still Showing the Old Site: DNS Explained
You pointed a domain at a new host and nothing changed yet. Learn what DNS propagation is, how to check it, and what to do while you wait.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
What is happening
When you change a domain's nameservers or DNS records, the change must spread to DNS servers around the world. Each one remembers the old answer until its TTL (time to live) runs out. That is why you may see the new site while a friend still sees the old one. It often takes minutes to a few hours, and Hostinger-style notices quote up to 24 hours for nameserver changes.
Nameservers or records: pick one
- Nameservers: hand the whole DNS to your host. Set both nameservers they give you at your registrar.
- A record: keep DNS where it is and point the domain's A record to your host's IP address.
Do not do both at once. The nameservers decide where the DNS records are read from.
Check the current state
- Use a tool such as dnschecker.org to see what different countries see.
- From a computer you can run
nslookup yourdomain.comand compare the address with your host's IP.
While you wait
- Try a private window or another device or network, or your phone's mobile data.
- Do not keep changing the settings. Each change restarts the wait.
"Site can't be reached" or NXDOMAIN
- The domain may be so new that the registration is still being processed.
- The domain may have no DNS records at all. Add the A record or set the nameservers.
- The domain may have expired. Check its status at your registrar.
Remember email
If you move nameservers, copy your MX and email-related TXT records to the new DNS, or your email will stop.
Related guides
- How to Move a WordPress Site to a New Host or Domain: Checklist
- How to Create a Subdomain (blog.yourdomain.com, shop.yourdomain.com) and Point It Somewhere
- "Not Secure" Warning or Padlock Missing After Installing SSL (Mixed Content)
- Free SSL (Let's Encrypt) vs Paid Certificate: Which Do You Need?
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.