Redirect alias domain in .toml not working

Hello,

I have a website on the primary domain pizzadipraga.cz, I have also created and assigned an alias pizzazizkov.cz.
I created a redirect in the redirects.toml file, but unfortunately it doesn’t work.

It looks like this:

[[redirects]]
from = "https://www.pizzazizkov.cz/*"
to = "https://pizzazizkov.cz/zizkov/"
status = 301

[[redirects]]
from = "https://pizzazizkov.cz/*"
to = "https://pizzazizkov.cz/zizkov/"
status = 301

I can see in the build log that the redirect should be fine though. But unfortunately it doesn’t work and the alias pizzazizkov.cz doesn’t redirect where it should.

@Kuldas Did you misspeak, there is no redirects.toml file, it’s either a _redirects file or a netlify.toml file?

Netlify processes and serializes your redirect rules across the _redirects and netlify.toml files.