Question

Need help installing https for subdomains

Hi, I’m having a problem setting up https on the https://www.nexlesoft.com/ website. I followed Digital Ocean’s instructions at https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04 and everything Works well as a guide. However, then I encountered a bug where my Portolio images were located at the subdomain portfolio-api.nexlesoft.com. And it was not displayed because I did not install https for the subdomain. (example https://portfolio-api.nexlesoft.com/img/portfolio/TravelSmart/TS-03.png not working, http://portfolio-api.nexlesoft.com/img/portfolio/TravelSmart/TS-03.png is good). Now I think my job is to set up https for the website, however I have a question. Is Let Encrypt support subdomains ? and how will the installation statement be? I hope to get help from the community Digital Ocean.


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

yes the wildcard certificate will be good for all the subdomains under main, but until then you can install the LE certificate for the subdomain with the same command you have used for the main domain name, just put in the subdomain as host.

you need wildcard certificate as stated here on lets encrypt news feed

https://letsencrypt.org/2017/07/06/wildcard-certificates-coming-jan-2018.html