Clear the local DNS Cache in OSX 10.10 Yosemite, Linux and Windows

When you see something wrong on your website, like getting worry if server not found or the site isn’t loading the way it is. This is happening when Domain Name Server is changed or by connecting into network that has DNS management system.