Based on here: https://github.com/mailcow/mailcow-dockerized/issues/1595 For the secondary domain, the hostnames would still be mail.domain1.com. These details can be retrieved by pressing the "DNS" button at the end of the domain adding row.