# Problem in installing Let's Encrypt SSL for www and non-www

**URL:** <https://meta.discourse.org/t/problem-in-installing-lets-encrypt-ssl-for-www-and-non-www/88515>\
**Category:** Self-hosting\
**Created:** [May 26, 2018, 6:37pm UTC](https://meta.discourse.org/t/problem-in-installing-lets-encrypt-ssl-for-www-and-non-www/88515 "2018-05-26T18:37:22Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Gulshan\_Kumar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gulshan_kumar/32/119562_2.png) [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)\
**Post date:** [May 26, 2018, 6:37pm UTC](https://meta.discourse.org/t/problem-in-installing-lets-encrypt-ssl-for-www-and-non-www/88515/1 "2018-05-26T18:37:22Z")

</div>

TLDR: Only one version is working with SSL, either www or non-www, as same as hostname provided while installation.

It’s related to Let’s Encrypt SSL installation as written [at Docs](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md).

So, after launching setup it was asked to enter

```plaintext
Hostname for your Discourse? [discourse.example.com]: 

```

So, I typed `example.app`

Next, after installing Discourse, I am facing one problem that SSL is not working for the www version.  
For non-www, it’s works fine.

Ideally, I would like to have SSL for www and non-www version also.

* * *

I repeated entire process this time with `www.example.com` hostname, then SSL for non-www is not working.

What’s I am missing?

---

_[View the full topic](https://meta.discourse.org/t/problem-in-installing-lets-encrypt-ssl-for-www-and-non-www/88515)._
