I have added all the required records on Cloudflare, I have forwarded ports 80 and 443 to my domain IP, I dont know what the problem is. any help would be greatly appreciated cheers.
no mate. i turned off firewall. This is how Ive set up my Cloudflare DNS records and I have saved the Cloudflare nameservers to my Domain registrar. Im at a loss
I am not quite sure about what the actual problem is.
The domain is properly set up and does point to Cloudflare’s proxy, however when Cloudflare attempts to connect to your server it times out as it doesnt get a response.
So far so good, the output you posted refers to the issuance of a LetsEncrypt certificate and is not necessarily linked to the problem at hand. I am not familiar with Caddy but it appears you dont want Cloudflare to connect straight to your webserver, but to that reverse proxy, which then in turn connects to the webserver. Is that right?
If it is, you should check if maybe Cloudflare can connect to your reverse proxy, but that proxy cant connect to the webserver. Generally speaking, do you really need that reverse proxy setup? It simply complicates things.