Swap out domain var