Redirect 301 not working

Hello, tell me why you can’t redirect from www.svetlanagarcia.com to svetlanagarcia.com, the contents of the netlify.toml file are
from = “/www.svetlanagarcia.com”
to = “/svetlanagarcia.com”
status = 301
force = true
query = {path = “: path”} # apply this rule for / old-path? path = example

@garcia.sve Welcome to the Netlify community.

First, when your DNS is set up properly with Netlify you won’t need this redirect because you can set the apex domain as the primary.

Second, you seem to have two registrars. I’ve never seen that before:

Registrar URL: http://www.iana1600.net
Registrar URL: http://www.virtualname.es/

Third, according to whois your name servers are:

Name Server: ns5.awardspace.com
Name Server: ns6.awardspace.com

… but according to dig your name servers are:

dns4.p06.nsone.net.
dns3.p06.nsone.net.
dns2.p06.nsone.net.
dns1.p06.nsone.net.

Fourth, you seem to have an inactive domain:

ns5.awardspace.com

This should be one of Netlify’s servers.

Fifth, consequently, you have different servers for your apex domain and your www subdomain.

svetlanagarcia.com has address 104.198.14.52

www.svetlanagarcia.com has address 206.189.73.52
www.svetlanagarcia.com has address 138.68.244.143

My recommendation would be to recheck your DNS settings. You will want your custom domain to show up on both your Domains list and in the Domains settings page for the Netlify subdomain to which it is connected.

Then set your apex domain as your primary on your Netlify site domains page, assuming that is your preferred setup.