# Discourse installeren samen met Apache websites

**URL:** <https://meta.discourse.org/t/install-discourse-together-with-apache-websites/173907>\
**Category:** Self-hosting\
**Created:** [21 december 2020 om 10:22 UTC](https://meta.discourse.org/t/install-discourse-together-with-apache-websites/173907 "2020-12-21T10:22:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![blades](https://avatars.discourse-cdn.com/v4/letter/b/c5a1d2/32.png) [@blades](https://meta.discourse.org/u/blades)\
**Post date:** [23 december 2020 om 07:26 UTC](https://meta.discourse.org/t/install-discourse-together-with-apache-websites/173907/4 "2020-12-23T07:26:42Z")

</div>

I don’t know why but when apache service is started, visiting my discourse forum it redirects to a hvost I have for example [takeiteasy.com](http://takeiteasy.com) but the domain for the forum is [forum.example.com](http://forum.example.com), they are not the same.

the discourse domain apache conf is

```plaintext
<VirtualHost *:80>
  ServerName forum.example.com
  ServerAlias www.forum.example.com

  <IfModule proxy_module>
    ProxyPreserveHost on
    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/
  </IfModule>
</VirtualHost>

```

if comeone can help

---

_[View the full topic](https://meta.discourse.org/t/install-discourse-together-with-apache-websites/173907)._
