I followed this tutorial https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-20-04
But only the
www.my_domain was shown and now I completed this process. It works for
www.my_domain with https but
my_domain does not work.
What’s the best way to fix this?
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.
What you could do is to run the certbot command again and this time leave the input blank to select all options shown on the screen.
That way you will get a certificate for your non-www version too.