# How to install discourse on hosting?

**URL:** https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286
**Category:** Self-hosting
**Created:** [January 29, 2018, 4:24pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286 "2018-01-29T16:24:06Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [January 29, 2018, 4:24pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/1 "2018-01-29T16:24:06Z")

</div>

Hello i like your comunity and i desided to run discourse on my hosting but its confused to install it im runing centos eny help?

stuck on

```plaintext
[root@server public_html]# ./discourse-setup
which: no docker.io in (/sbin:/bin:/usr/sbin:/usr/bin)
which: no docker.io in (/sbin:/bin:/usr/sbin:/usr/bin)
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
httpd 467 root 4u IPv6 616054 0t0 TCP *:http (LISTEN)
httpd 472 nobody 4u IPv6 616054 0t0 TCP *:http (LISTEN)
httpd 473 nobody 4u IPv6 616054 0t0 TCP *:http (LISTEN)
httpd 474 nobody 4u IPv6 616054 0t0 TCP *:http (LISTEN)
httpd 13038 nobody 4u IPv6 616054 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 meta discourse org/t/17247

If you are reconfiguring an already-configured Discourse, use

./launcher stop app

```

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 29, 2018, 4:39pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/2 "2018-01-29T16:39:58Z")

</div>

The issue is right in the output you’ve shared. Something else on your server is using port 80, which Discourse needs to use. If you’re not running anything else on the server you should disable NGINX, Apache, or whatever is using port 80. If you are running something else, you need to follow the instructions in the topic linked above, [Run other websites on the same machine as Discourse](http://meta.discourse.org/t/17247).

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [January 29, 2018, 4:56pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/3 "2018-01-29T16:56:28Z")

</div>

its runing ather sites the hosting holding about 20 websites so apache on port 80 is runing the server using cwp … so i cant shut down all server …

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [January 29, 2018, 4:58pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/4 "2018-01-29T16:58:30Z")

</div>

Maby im created wrong question is it posible tu runn discourse without shell aqess ?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 29, 2018, 5:05pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/5 "2018-01-29T17:05:45Z")

</div>

> [@savas](#):
>
> is it posible tu runn discourse without shell aqess

No, it is not possible to run Discourse without shell access and root permissions.

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [January 29, 2018, 5:07pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/6 "2018-01-29T17:07:13Z")

</div>

ok if i got root premissions and i like to run discourse jus on one domain?

---

<div class="post-metadata">

### Author: ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)
#### Post date: [January 29, 2018, 5:07pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/7 "2018-01-29T17:07:31Z")

</div>

> [@savas](#):
>
> its runing ather sites the hosting holding about 20 websites so apache on port 80

You need to configure the front web server to forward traffic to the docker container.

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [January 29, 2018, 5:10pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/8 "2018-01-29T17:10:43Z")

</div>

So i need to reinstall my whole server fresh install discourse and then configurate ngix to run ather sites yap ?

---

<div class="post-metadata">

### Author: ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)
#### Post date: [January 29, 2018, 5:12pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/9 "2018-01-29T17:12:09Z")

</div>

> [@savas](#):
>
> need to reinstall my whole server fresh install discourse and then configurate ngix to run ather

Or figure out an Apache equivalent to the “Create an NGINX ‘site’ for the outer nginx” section.

Some discussion to that effect here:  
[https://meta.discourse.org/t/run-discourse-with-or-alongside-existing-apache-sites/19514](https://meta.discourse.org/t/run-discourse-with-or-alongside-existing-apache-sites/19514)

---

<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: [January 29, 2018, 6:33pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/10 "2018-01-29T18:33:45Z")

</div>

Also, there are many problems with CentOS and docker. Judging from the questions you’re asking, I’m guessing that it’ll take you several hours and a bunch of down time on all of your web sites to figure out how to install Discourse with your Apache server. First, though, you’ll need to figure out how to get Docker installed.

For $60/year, you could host it on its own droplet at Digital Ocean (or others).

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [January 29, 2018, 6:48pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/11 "2018-01-29T18:48:23Z")

</div>

no i ges its cheaper to place new server with Pentium(R) Dual-Core CPU E5500 @ 2.80GHz install fresh ubuntu and run it it cost me 80 euros for that 🙂

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [January 30, 2018, 2:32pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-hosting/79286/12 "2018-01-30T14:32:47Z")

</div>

Done [https://tavopc.lt](https://tavopc.lt) runing on centos all ather sites moved to ather server .. ☹ system is awesom!
