set SERVER_NAME to localhost