# Publishing multisite

**URL:** https://meta.discourse.org/t/publishing-multisite/190123
**Category:** Self-hosting
**Created:** [May 11, 2021, 10:21pm UTC](https://meta.discourse.org/t/publishing-multisite/190123 "2021-05-11T22:21:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![DursunCan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dursuncan/32/204976_2.png) [@DursunCan](https://meta.discourse.org/u/DursunCan)
#### Post date: [May 11, 2021, 10:21pm UTC](https://meta.discourse.org/t/publishing-multisite/190123/1 "2021-05-11T22:21:29Z")

</div>

[discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) I read the post on the link and set up 1 site.

```plaintext
git clone https://github.com/discourse/discourse_docker.git /var/discourse2

```

If I install it to the discourse2 folder and run the command `./discourse-setup`, will the site be installed?  
Do I have to do anything with the nginx port?

---

<div class="post-metadata">

### Author: ![DursunCan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dursuncan/32/204976_2.png) [@DursunCan](https://meta.discourse.org/u/DursunCan)
#### Post date: [May 11, 2021, 10:50pm UTC](https://meta.discourse.org/t/publishing-multisite/190123/2 "2021-05-11T22:50:14Z")

</div>

```
Port 80 appears to already be in use.

This will show you what command is using port 80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 1241 root 4u IPv4 26166 0t0 TCP *:http (LISTEN)
docker-pr 1247 root 4u IPv6 26172 0t0 TCP *:http (LISTEN)

If you are trying to run Discourse simultaneously with another web
server like Apache or nginx, you will need to bind to a different port

See https://meta.discourse.org/t/17247

If you are reconfiguring an already-configured Discourse, use 

./launcher stop app

to stop Discourse before you reconfigure it and try again.

```

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 11, 2021, 11:48pm UTC](https://meta.discourse.org/t/publishing-multisite/190123/3 "2021-05-11T23:48:57Z")

</div>

> [@DursunCan](#):
>
> If I install it to the discourse2 folder and run the command `./discourse-setup` , will the site be installed?

No.

See [Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084) and [Multisite Configuration with Let’s Encrypt and no reverse proxy](https://meta.discourse.org/t/multisite-configuration-with-lets-encrypt-and-no-reverse-proxy/175285).

You can also run multiple containers (copy `app.yml`, not all of Discourse) with a reverse proxy in front.

You can’t use `discourse-setup`. It’s just for very simple installations.
