This morning I started getting “Safari Can’t Find the Server” on a multitude of sites when loading in Safari, while pings were successful and Chrome was loading pages. The fix? Flush the DNS cache. I fired up Terminal and entered the following command, and viola – pages started loading.
sudo killall -HUP mDNSResponder