removes trailing slash from CNAME