fix fqdn format
use fqdn as server hostname