Why does a Webflow site work on webflow.io but not the custom domain?

The staging subdomain can work while the custom domain fails because they use different DNS and publication settings. Confirm that the custom domain is added and verified, and that the latest site version was published to that domain as well as the webflow.io address.
Check authoritative DNS for stale or conflicting root and www records. Make sure the domain is not pointing through an unsupported proxy or old host. Review SSL status and test the HTTP response for each hostname to distinguish a DNS failure, certificate problem, redirect loop, or unpublished site.
Set the preferred custom hostname as default and publish again after verification. Clear local DNS and browser caches only after the public records are correct. Test from another network, then update canonical tags, Search Console, analytics, and external links to the preferred domain.