# How can I enable SSL while running on a different port + Issue with subdomain

**URL:** <https://meta.discourse.org/t/how-can-i-enable-ssl-while-running-on-a-different-port-issue-with-subdomain/44646>\
**Category:** Self-hosting\
**Created:** [Maio 23, 2016, 2:52am UTC](https://meta.discourse.org/t/how-can-i-enable-ssl-while-running-on-a-different-port-issue-with-subdomain/44646 "2016-05-23T02:52:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Daffy\_Chu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daffy_chu/32/64458_2.png) [@Daffy\_Chu](https://meta.discourse.org/u/Daffy_Chu)\
**Post date:** [Maio 23, 2016, 6:30pm UTC](https://meta.discourse.org/t/how-can-i-enable-ssl-while-running-on-a-different-port-issue-with-subdomain/44646/5 "2016-05-23T18:30:37Z")

</div>

Solved! It was the HAProxy that i forgot to add the subdomain in, completely forgot to replace the hostname in it

---

_[View the full topic](https://meta.discourse.org/t/how-can-i-enable-ssl-while-running-on-a-different-port-issue-with-subdomain/44646)._
