I have an A record pointing to a Digital Ocean droplet server. It works well. The subdomain points to the specified IP address.
How can I keep the subdomain in the url?
Every time I go to api.mydomain.com (redirects) -> 192.168.2.2 which causes my SSL certificate to complain as the url and the registered name on the cert don’t match.
Is there a record I need to configure on Netlify’s or Digital Ocean’s DNS settings?