Report this

What is the reason for this report?

lets encrypt ssl is working in mydomain.com but not working in www.mydomain.com

Posted on June 17, 2019

Hello everyone! I have a domain that I could manage to run it as https://mydomain.com; however when I run my domain as www.mydomain.com or http://mydomain.com, the page redirected to https://www.mydomain.com and shows Your connection is not private. I had seen someone had the same question here but the answers are deleted and as the result I am asking it again. Please consider simple way of configuration as I am almost new in ssl. Thanks for the help guys! :)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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 installed the certificate, did you add both mydomain.com AND www.mydomain.com? Try reinstalling your certificates with -d domain.com -d www.domain.com Replacing domain with your actual domain…

No I think I just used -d mydomain.com There is not any shortcut to not re-install it again? Actually I used the tutorials from Example link

Which http server are you using: apache or nginx?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.