As I understand it, you can set an A record with a public domain name to point to an internal IP. It’s not the ideal setup but it’s nice for easy SSL on internal resources.
I’m doing this with cloudflare with an A record from mydomain dot com to my internal IP and a CNAME record pointing from * to mydomain dot com (had to get around new user link restrictions).
Visiting my.local.ip.addr in the browser returns the expected resource. Visiting mydomain.com or any subdomain results in the browser saying immediately it can’t connect to the server (Chromium gives DNS_PROBE_FINISHED_NXDOMAIN).
Is this an issue with my Cloudflare configuration or with my reverse proxy? I’m using https://github.com/linuxserver/docker-swag which I gave my Cloudflare global API key and seems to be working, it generated certs fine.