Site Can'T Be Reached

TopicSource
๐Ÿ–ฅ๏ธ TechHow to Flush DNS Cache on a Mac

If you have a site can't be reached error, this is likely a DNS error. To fix it, flush the DNS cache.

I recently had the issue, that every webpage I open, shows me an error.

[!warning] This site can't be reached.

After a short delay, the page loaded just fine.

This is actually a DNS issue, so flushing the DNS fixed it.

On Mac, this is the command.

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

  1. Don't panic, if your service breaks over night