Display different pages based on internet connection

Is there a way to show an external link or an axure static page based on internet connection?