set hostname in conf file