# How to install Discourse in the AWS EC2 Instances(Ubuntu Server LTS)?

**URL:** <https://meta.discourse.org/t/how-to-install-discourse-in-the-aws-ec2-instances-ubuntu-server-lts/112406>\
**Category:** Self-hosting\
**Created:** [March 23, 2019, 12:33pm UTC](https://meta.discourse.org/t/how-to-install-discourse-in-the-aws-ec2-instances-ubuntu-server-lts/112406 "2019-03-23T12:33:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)\
**Post date:** [March 23, 2019, 5:43pm UTC](https://meta.discourse.org/t/how-to-install-discourse-in-the-aws-ec2-instances-ubuntu-server-lts/112406/6 "2019-03-23T17:43:39Z")

</div>

If you can SSH to the instance but cannot reach the web site, that suggests your security group is not permitting the necessary ports (80/443) _or_ that nothing is listening on those ports.

> [@Lee533](#):
>
> can’t visit the hostname of Discourse

Expand on this part.

- What are you doing?
- What do you expect to happen?
- What actually happens?

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-discourse-in-the-aws-ec2-instances-ubuntu-server-lts/112406)._
