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

Sorry for the late reply.
The fact that you have quoted “at the time of registration” is because it’s easier when the site has already been created? Has this already been done?
Cheers,
AG

I quoted that because it’d be part of your setup process for the subdomain. Not that it really matters when it happens, but the site won’t work unless you make that DNS record.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.