Managing multiple domains