I currently have a VPS with RDP at my provider CWH, but my domains are with GoDaddy with A-Records pointing to CWH; and Emails with Microsoft Exchange. Whenever I need to create a subdomain, I first log into GoDaddy create a new A-Record, then log into Plesk at CWH and create my sub domain there.
As I’m releasing anew service, I’m hoping to automate this, so I had the following questions.
1. Can I host my own DNS on my VPS? I
a) If yes, could I use an API or SDK to create and delete A-Records?
b) If no, do you know if GoDaddy or another provider has such interface?
2. Within Plesk, or IIS directly, how can I Create/Suspend/Delete subdomains… again by code? Plesk is PHP-based, so there must be a way.
Obvoiusly my VPS is IIS, but can get Linux.
Any advice would be appreciated.