make altname (alternative server hostname) empty by default and set it later before running commands actually