Remove tails in CNAME file