Detect server host name