Automagically create DNS record for WP MultiSite

Long story short: On a WordPress Multisite installation where visitors can create their own site (i.e. customer1.domain.com), is there a known way to automagically create the DNS record for that subdomain at the time of registration to make use of the wildcard SSL facility?
Be that a plugin or some other trick.
Thanks,
AG

You’d have to script this from your server using the API:
https://api.cloudflare.com/#dns-records-for-a-zone-create-dns-record

1 Like