By default DataPenny runs at datapenny.<your-subdomain>.workers.dev. Your own subdomain works as long as its domain is on Cloudflare.
- In the Cloudflare dashboard, open Workers & Pages →
datapenny→ Settings → Domains & Routes. - Choose Add, then Custom domain, and enter something like
stats.yourapp.com.
Cloudflare takes care of DNS and the certificate.
Then update your script tag to the new address, and your webhooks in each payment provider.
The old workers.dev address keeps working until you turn it off, so nothing breaks while you switch.