Handling multiple domains