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.
When you setup the certificate, did you specify both? If you do not pass both as options when creating the certificate, one will be valid and the other won’t.
When creating the certificate, you need to pass:
-d www.domain.com -d domain.com
as arguments.
You can delete the existing and simply recreate a new certificate by passing both instances of your domain and then restarting Apache/NGINX.
The developer cloud
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.