One domain is fine, while the other isn't

SYSTEM INFORMATION
OS type and version Almalinux 10.2
Virtualmin version 8.2 pro

I have now set up my second website, but I don’t get it to connect to the internet. The browser says “website not found”. I checked DNS records, they all seem to be fine (are basically the same as for the other, working website), both are to be found via Cloudflare
name servers, and Virtualmin is connected to Cloudflare for both domains. I don’t know what I could have missed. Has anyone an idea what could be wrong?

Website not found, if that’s the exact error, sounds like DNS.

So, how did you check the DNS records? The only way to really know whether DNS is answering correctly is the actually query DNS, using the host or dig command (or whatever DNS query tool you like).

e.g.

host domain.tld

The error was more or less that no DNS was configured for the website. I have then set the DNS back to the native ones of the provider, and then again changed to the ones at cloudflare, and now it works. Turned out the the provider had forwarded DNS requests to the wrong servers, I have no idea how that happened, but it’s fine now, so I don’t dig deeper.
However, now I have an email problem, for which I will start another thread. I think that’s better in order to have only one topic per thread.