HOW TO FIX A server with the specified hostname could not be found error in Ios 12.1.2

A server with the specified hostname could not be found error in Ios 12.1.2 Error