# Can't make Discourse accessible through Apache

**URL:** <https://meta.discourse.org/t/cant-make-discourse-accessible-through-apache/26775>\
**Category:** Self-hosting\
**Created:** [2015 年 3 月 25 日午後 5:01 UTC](https://meta.discourse.org/t/cant-make-discourse-accessible-through-apache/26775 "2015-03-25T17:01:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![souljacker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/souljacker/32/115864_2.png) [@souljacker](https://meta.discourse.org/u/souljacker)\
**Post date:** [2015 年 3 月 25 日午後 5:01 UTC](https://meta.discourse.org/t/cant-make-discourse-accessible-through-apache/26775/1 "2015-03-25T17:01:35Z")

</div>

Hi, guys!

I’m a complete noob, so I apologize in advance for any stupid question.

I’m trying to install Discourse in my Digital Ocean LAMP Ubuntu Droplet.

I tried the instructions (and the tips here [http://mdworld.nl/blog/mypc/2014/11/16/discourse-ubuntu/](http://mdworld.nl/blog/mypc/2014/11/16/discourse-ubuntu/)) and could finally install it. It was returning an error, so I changed app.yml in order to:

```
expose:
  - "80:80" # fwd host port 80 to container port 80 (http)

```

But there’s an issue.

My app.yml has:

> DISCOURSE\_HOSTNAME: ‘[forum.mysite.com](http://forum.mysite.com)’

But I can’t access Discourse when I try that address. But, if I try [mysite.com:8080](http://mysite.com:8080), it opens ok.

So, my question is: what should I do?

I guess this is more of a Apache thing than of a Discourse issue, so I apologize if that’s the case

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/cant-make-discourse-accessible-through-apache/26775)._
