Tunnel keeps redirecting to a another subdomain I used for testing

First of all, I’m very new to all this and my mother tongue is Spanish, so I’m sorry if I’m not clear enough.
I was trying to create a straightforward webpage with docker WordPress and with the little, I know about Cloudflare tunnel. I was testing with a domain I already own through Cloudflare registar so if it were to work I’d buy the domain with the name I wanted. After some testing, I got my WordPress webpage to work through a subdomain of an already-owned domain. I bought the domain I wanted let’s say I was doing testing with trial.example.com and I bought domain.com. I went to the tunnel configuration page and changed the public hostname from trial.example.com to domain.com and when I went to domain.com it always redirected me to trial.example.com, I thought it might be because I edited the tunnel instead of creating a new one, so I deleted the tunnel, deleted the CNAME record in DNS management for example.com and domain.com and created a new tunnel with domain.com, I had the same result, domain.com redirects totrial.example.com.
And this keeps happening no matter if I delete every DNS record, or if I delete the tunnel itself, I even tried removing Cloudflared and installing it again on my server with a new token, but every time I create a tunnel to domain.com it redirects to trial.example.com doesn’t matter what localhost I set.
What can I do to solve this problem? I’m breaking my head trying everything I can think of…