replace CNAME with subdomain