detect servername