Any idea how to add domains dynamically on demand?

July 25, 2019 141 views
Apache Configuration Management DNS Deployment Ubuntu Debian

Hello, good morning, I am looking for a service in which, when a customer makes a payment, their domain is purchased and installed directly in the system, until here everything is fine, using apache wildcards I manage to do it with the subdomains and with that no I have a problem, what I need to do is that for example, when a user buys an "" domain, this domain is added to my server once, without having to manually add it to the VPS domain handler, someone has managed to implement something similar that can tell me your solution at least the idea?

1 Answer

If you're building your own service, you can create DNS records using the API:

Have another answer? Share your knowledge.