ugly way of allowing multiple domains