Domain alias redirects for apex domain but not subdomain

Hi guys,
my netlify site has primary domain cloudopex.com, with www.cloudopex.com redirecting automatically to the primary.
I then added 2 domain aliases to the primary:

cloudopex.co: redirects to cloudopex.com no problem in browser.

The second, www.cloudopex.co however, is just its own site and doesn’t redirect to cloudopex.com as it should.**

Any idea what might be causing this?

If cloudopex.com is the primary, www.cloudopex.com will automatically redirect to it.

Alias domains do not automatically redirect (and neither does YOURSITE.netlify.app)

To have www.cloudopex.co redirect to cloudopex.com you will need to add a domain-level redirect to either the netlify.toml or _redirects file as outlined here.

Something like

[[redirects]]
  from = "https://www.cloudopex.co/*"
  to = "https://cloudopex.com/:splat"
  force = true
  status = 301

or

https://www.cloudopex.co/*    https://cloudopex.com/:splat    301!