I have a web application where users can create individual websites with different subdomains, e.g., subdomain1.mydomain.com subdomain2.mydomain.com
I purchased the domain through GoDaddy, and I have a wildcard A-record set up to my hosting service (i.e., * points to HOSTING_IP).
I'm trying to set up a specific subdomain SECURE with an SSL certificate. I've created a CName on GoDaddy and have pointed that to a specific server on which I set up the SSL, i.e., secure.mydomain.com points at SSL_IP
Currently, secure.mydomain.com is still pointing at HOSTING_IP. Is there anyway to prioritize the CNAME over the ARecord? Has anyone done this on GoDaddy? Or could you recommend a different service I could use to get this set up? Alternatively, is there a better way for me to do this?
Many thanks in advance!