Installation on Ubuntu 14.04 LTS + Apache 2 + Plesk 12

AI-generated summary

Maxunit seeks assistance installing Discourse on a Hetzner root server running Ubuntu 14.04 LTS with Plesk 12 and Apache 2. Due to Apache occupying port 80 and port 8080 being in use, Maxunit configured Discourse to run on port 1337 within a Plesk subdomain directory (/var/www/vhosts/*domain*/*subdomain*.*domain*). However, accessing the subdomain displays the default Plesk page, while the ported address returns nothing. riking suggests a guide for running multiple websites on the same machine. Maxunit reports difficulties adapting the guide because Plesk’s configuration differs from standard setups; specifically, NGINX acts only as a reverse proxy, and the expected /etc/nginx/sites-available/ directory does not exist, with configurations instead located in /etc/nginx/. Maxunit questions if Discourse can function on a server entirely managed by the Plesk installer. In response, riking acknowledges the directory discrepancy and proposes adjusting the configuration to use /etc/nginx/conf.d instead.

Dear Discourse Community,

I came across this fine looking Community Software while looking for a Forum…etc pp.

Anyway :smile:

I have a Root Server from the Server Provider called Hetzner.

It runs Ubuntu 14.04 LTS and has Plesk 12 installed since some time. I managed to follow the 30 minutes guide for installing Discourse and had to change the port so far from 80 to something else, since Apache 2 dominates this port. 8080 is also in use. So I chose 1337 for the lulz.

I also created a subdomain with plesk and did a git checkout to the subdomain folder, which is located in:

/var/www/vhosts/domain/subdomain.domain

Now…opening subdomain.domain shows what Plesk offers…opening subdomain.domain:1337 returns nothing.

I am not that highly experienced to figure out everything on my own, sadly :confused:

If anyone can help me with getting discourse working on my Root, i’d be grateful.

Cheers,

Maxunit

Have you tried this?

Thank you for the link.

I’m currently trying to figure it out, but Plesk is a bit of a “I dominate this Server…with APACHE2!” thing and NGINX only runs as a reverse proxy.

/etc/nginx/sites-available/ is not even a valid path on my root, but /etc/nginx/ is.

I don’t know how much Plesk dominates everything.

I’m already asking myself, if I even can get Discourse running on a Root Server, which ran a plain ubuntu install first and then was entirely configured using the Plesk Web Installer :confused:

I’ll change it to use /etc/nginx/conf.d then.