Add the option to define a different hostname instead of fqdn