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?
cloudopex.com is the primary,
www.cloudopex.com will automatically redirect to it.
Alias domains do not automatically redirect (and neither does
www.cloudopex.co redirect to
cloudopex.com you will need to add a domain-level redirect to either the
_redirects file as outlined here.
from = "https://www.cloudopex.co/*"
to = "https://cloudopex.com/:splat"
force = true
status = 301
https://www.cloudopex.co/* https://cloudopex.com/:splat 301!