trims url in CNAME