# Site down after enabling SSL

**URL:** <https://meta.discourse.org/t/site-down-after-enabling-ssl/46778>\
**Category:** Self-hosting\
**Created:** [July 3, 2016, 6:51pm UTC](https://meta.discourse.org/t/site-down-after-enabling-ssl/46778 "2016-07-03T18:51:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![P16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@P16](https://meta.discourse.org/u/P16)\
**Post date:** [July 3, 2016, 6:51pm UTC](https://meta.discourse.org/t/site-down-after-enabling-ssl/46778/1 "2016-07-03T18:51:41Z")

</div>

I bought a PositiveSSL from Namecheap today and followed the instructions at:

> [@Allow SSL / HTTPS for your Discourse Docker setup](https://meta.discourse.org/t/allowing-ssl-https-for-your-discourse-docker-setup/13847):
>
> This guide is likely out of date as there are now very few reasons not to use the built-in Let’s Encrypt certificate that Just Works. See also: 2023-04-10 @pfaffman says: This is left here mostly for historical purposes. So you’d like to enable SSL for your Docker-based Discourse setup? Let’s do it! This guide assumes you used all the [standard install](https://meta.discourse.org/t/142537?silent=true) defaults – a container configuration file at/var/discourse/containers/app.yml and Discourse docker is installed at: /var/discourse Buy a SS…

Which included placing ssl.key and ssl.crt at /var/discourse/shared/standalone/ssl/ and adding the additional templates to app.yml. I have set up the A record to point to the IP Address of the droplet/instance.

The site was running perfectly before on both Google Compute and then on Digital Ocean (for testing) but once I enabled SSL, it went down. If I type in [www.hostname.com](http://www.hostname.com) or the IP address, it resolves to [https://hostname.com](https://hostname.com) and gives a “Unable to connect” or “Server not found” error.

There are no errors in the logs. If someone can help, it would be massively appreciated. I have been going at this for 10 hours straight without any luck 😧

---

_[View the full topic](https://meta.discourse.org/t/site-down-after-enabling-ssl/46778)._
