I’m trying to deploy an e-commerce platform, I managed to deploy the frontend to Netlify https://thereisnomore-shop.netlify.app pointing to giovanni-ferrara.com.
I provided the Netlify name servers to my domain provider GoDaddy.
The backend is hosted on Digital Ocean and it is accessible by its own IP address.
So I wanted to point at my backend through api.giovanni-ferrara.com: to achieve that I added an A record to netlify DNS:
api.giovanni-ferrara.com 3600 IN A 126.96.36.199
It works, but my api.giovanni-ferrara.com endpoint doesn’t support HTTPS, so I get errors because of mixed content.
I expected SSL certificate to apply also to the A DNS record, but it doesn’t.
What can I do to overcome this issue?
Sorry for the dumb question, but it’s the first time I deal with DSN, SSL and this kind of stuff.