Redirect domain alias certificate issue

Hi all,

I would like to ask you for a little help. I have set up a website on the Netlify domain https://amazing-archimedes-716df5.netlify.app/ as well as my primary and alias domains:

www.zilion.cz // primary domain
zilion.cz // redirects automatically to primary domain
www.organza.cz // domain alias
organza.cz // domain alias

I also configured both domains in my DNS provider to point to the correct Netlify IP address / CNAME.

My _redirects file contains the following:

https://organza.cz/*  https://www.zilion.cz/:splat  301!
https://www.organza.cz/*  https://www.zilion.cz/:splat  301!

But when I go to https://www.organza.cz/ there is no redirect to https://www.zilion.cz/, I can see only certificate issue.
Can someone help me with what did I set wrong or what else needs to be configured?
Thanks.

Hey there, @Radek_Sukup :wave:

Welcome to the Netlify Forums, and thanks for reaching out! Have you seen our Redirects Support Guide? This is a good starting point for debugging any redirect related issues:

Let us know if you have worked through some of these suggestions!

Hey Hillary,

thanks for the support guide. I went through all the points and it seems I configured everything properly.
However, my issue is related to the certificate which I haven’t found a topic about that here in support forum.

Ok, found the solution.
I didn’t realize when I added new domain aliases, the certificate needs to be regenerated.
Once I clicked on “Renew certificate”, the issue has been resolved.

hey there, @Radek_Sukup :wave:

Thanks for circling back and sharing this solution! I am glad everything is working for you now :slight_smile: