# Запуск Docker с Discourse рядом с Apache

**URL:** <https://meta.discourse.org/t/running-discourse-docker-alongside-apache/161625>\
**Category:** Self-hosting\
**Created:** [21.Август.2020 07:17:18 UTC](https://meta.discourse.org/t/running-discourse-docker-alongside-apache/161625 "2020-08-21T07:17:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rebelCoder](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rebelcoder/32/191230_2.png) [@rebelCoder](https://meta.discourse.org/u/rebelCoder)\
**Post date:** [21.Август.2020 07:17:18 UTC](https://meta.discourse.org/t/running-discourse-docker-alongside-apache/161625/1 "2020-08-21T07:17:18Z")

</div>

Здравствуйте.

Я пытаюсь настроить Discourse в Docker на своём существующем сервере. Другие контейнеры Docker у меня не запущены.

На моём сервере работают Apache (сайты на WordPress) и некоторые другие веб-сервисы.

Не могу понять, как настроить маршрутизацию моего поддомена ‘forum.rebelscience.club’ к моему контейнеру Docker.

Когда меня спрашивают:

```plaintext
Hostname for your Discourse? [discourse.example.com]: forum.rebelscience.club

```

Я вижу следующее:

```plaintext
Checking your domain name . . .
WARNING: Port 443 of computer does not appear to be accessible using hostname: forum.rebelscience.club.
WARNING: Connection to http://forum.rebelscience.club (port 80) also fails.

This suggests that forum.rebelscience.club resolves to some IP address that does not reach this 
machine where you are installing discourse.

The first thing to do is confirm that forum.rebelscience.club resolves to the IP address of this server.
You usually do this at the same place you purchased the domain.

If you are sure that the IP address resolves correctly, it could be a firewall issue.
A web search for "open ports YOUR CLOUD SERVICE" might help.

This tool is designed only for the most standard installations. If you cannot resolve
the issue above, you will need to edit containers/app.yml yourself and then type

./launcher rebuild app

```

Не уверен, как это настроить. Порты 80/443 доступны, но они направлены на мой основной домен, а не на поддомен.

Буду очень признателен за любые советы.

---

_[View the full topic](https://meta.discourse.org/t/running-discourse-docker-alongside-apache/161625)._
