Ok, let me explain that better. I have a static website already hosted (not on a DO droplet) and my domain (e.g. mydomain.com) points to that server. However I would like to use DO to provide an API through a subdomain, e.g., api.mydomain.com. Is that possible?
The tutorials I came across with all describe how to add a subdomain by first adding a domain on DO but I would like to keep the static website on my current host provider so (I think) I can’t change the DNS pointers to DO servers.
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.