I’m working on a small app that provides a custom page for each user’s projects. I want to add the possibility for them to use custom domains.
The podcast site iconmic.fm offers a similar feature and, apparently, they have a form that lets users sign up to Cloudflare directly just using a domain name and a password. That’s pretty cool and I would like to implement something similar.
- Is this actually an acceptable integration to create Cloudflare user accounts like this?
- If so, is there a specific endpoint I should use for this (like for affiliate signups only)?
- Or would the canonical way be to do this all manually, i.e. call the Cloudflare API to create the user, then to add the URL and finally to configure DNS records for them?