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 “example.com” 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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

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

https://developers.digitalocean.com/documentation/v2/#create-a-new-domain-record

Submit an Answer