set host in config variable.