DNS redirect added to application_controller