I have setup Discourse in a Digital ocean droplet, using their 1 click install. I set the hostname to www.mydomain.com and I chose to issue an SSL certificate with Let’s Encrypt.
My domain is hosted with namecheap and I have set the following DNS records:
A Record WWW my_droplet_ip_address A Record @ my_droplet_ip_address CNAME @ www.mydomain.com
I believe everything is set correctly and on my desktop and laptop I can access the site successfully using each of the following URLs (all URLs redirect to
https://www.mydomain.com https://mydomain.com http://www.mydomain.com http://mydomain.com
However, on my Android phone I get a NET::ERR_CERT_COMMON_NAME_INVALID warning when accessing the site using these URLs:
I believe my device may be caching an old certificate as I migrated Discourse from the naked domain to the WWW subdomain having read on this forum that using the naked domain isn’t recommended. However, clearing the cache/data isn’t fixing it so I thought I’d ask if I have anything obviously wrong with my current DNS setup?
Many thanks in advance.