Normalize CNAME generation on environments