# 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:** [5월 26, 2018, 6:37오후 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:** 8

<div class="post-metadata">

### Author: ![PoojaPatel](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@PoojaPatel](https://meta.discourse.org/u/PoojaPatel)
#### Post date: [7월 7, 2018, 3:42오후 UTC](https://meta.discourse.org/t/problem-in-installing-lets-encrypt-ssl-for-www-and-non-www/88515/8 "2018-07-07T15:42:10Z")

</div>

When I re-install discourse, is my website hostname as [www.example.com](http://www.example.com)?

I have installed discourse One-Click Application from DO. Which method are you recommend, One click or Linux command?

> Install SSL for your _www_ because that is your canonical

When i installing SSL from below method, I have not entered my domain details, so where i have to add www version of my website address?

> [@Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-lets-encrypt/40709):
>
> bookmark This is a guide for enabling HTTPS on an existing Discourse installation using Let’s Encrypt. It assumes prior installation without HTTPS enabled. person_raising_hand Required user level: System Administrator exclamation This guide is only for existing installs where HTTPS is not enabled. Following the [official setup guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md) automatically enables HTTPS by default. So you’d like to add https to your Discourse absolutely free, courtesy of our friends at [Let’s Encrypt?](https://letsencrypt.org/)bell I…

> However must enable its DNS as well proxy for apex domain

Pls, can you let me more, how to do above step?

> Force HTTPS - which option i have to select because there are three option related to https?

1. Always use HTTPS
2. HTTP Strict Transport Security (HSTS)
3. Automatic HTTPS Rewrites

---

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