Using the HOSTS file might not be the best idea, but atleast this trick works with any browser or internet enabled application.