How to dynamically create a subdomain?

Yup, you can create sites and add custom domains using our API. You can get started using our API by reading through this topic.