Question

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

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! :)


Submit an answer

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!

Sign In or Sign Up to Answer

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…

Which http server are you using: apache or nginx?

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