Deployment now updates DOMAIN correctly