# Can't make Discourse accessible through Apache

**URL:** <https://meta.discourse.org/t/cant-make-discourse-accessible-through-apache/26775>\
**Category:** Self-hosting\
**Created:** [25 Marzo, 2015 17: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:** 6

<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:** [25 Marzo, 2015 21:28 UTC](https://meta.discourse.org/t/cant-make-discourse-accessible-through-apache/26775/6 "2015-03-25T21:28:29Z")

</div>

It was failing, but now I created a forum.mysite.com.conf file with the following content:

\<VirtualHost \*:80\>

```
    ServerName forum.mysite.com
    ServerAdmin my@gmail.com

    DocumentRoot /var/www/mysite.com/public_html/forum

    <Directory />
            Options FollowSymLinks
            AllowOverride All
    </Directory>
    <Directory /var/www/mysite.com/public_html/forum>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride all
            Order allow,deny
            allow from all
    </Directory>

            ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

```

It’s now getting me to apache’s default html message, which is at /var/www/html/

I’m not sure why

---

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