Changed domain - all I get is 522

So I have changed my main domain, I added it to my Cloudflare account, waited until it was active on Cloudflare.
Took down the docker-compose, emptied the acme.json and restored all containers.
All services is running, but when I try to go a service I get an 522.
Cloudflare can't reach my server, why is that? It did work with the old domain.