How can I redirect from one domain to another

How can I redirect from one domain to another if I have more than 300 URL links. For example, my main page is codenyx.xyz, and I want to change to codenyx.am. And so about 300 links. The Netlify page is: codenyx.netlify.app
Is it correct?
[[redirects]]
from = “www.codenyx.xyz/”
to = “www.codenyx.am/”
status = 200

Hi @Sansacia :wave:t6: ,

Thank you for reaching out and welcome to the forums!

Have you given this a read first to see if you can self solve this on your own?

Can you see if I wrote the first three parameters in _redirects correctly?
https://www.codenyx.xyz https://www.codenyx.am/:splat 301!
https://www.codenyx.xyz/z-index.html https://www.codenyx.am/z-index.html/:splat 301!
https://www.codenyx.xyz/writing-mode.html https://www.codenyx.am/writing-mode.html/:splat 301!

Can anyone help me redirect all my URLs to another address and check if I did it right? I will be grateful if you help!

https://www.codenyx.xyz is not configured to point to Netlify. Thus, Netlify cannot handle redirects for that domain.

How do I set up codenyx.xyz for netlify?

Just like you did codenyx.am. Add it to site → Configure the DNS.