JoyalV is seeking guidance on installing Discourse on an Ubuntu 16.04 VPS that already hosts two websites using Apache. The primary goal is to run Discourse as a Docker container on a subdomain (e.g., forum.example.com) while obtaining SSL certificates via Let’s Encrypt 1.
Falco provided a reference thread for running other websites alongside Discourse 2. mpalmer noted that while the linked guide uses Nginx, the process must be adapted for Apache 4. JoyalV proposed creating a VHost in /var/www or /var/discourse, but pfaffman clarified that a reverse proxy should be configured instead of installing Discourse files directly on the host’s file system 6. Specifically, mpalmer emphasized that no VHost should be set up on the host system; rather, traffic for the Discourse subdomain should be proxied directly into the container 8.
fefrei suggested a potentially easier architecture: reconfigure Apache to listen on a non-standard port and use Nginx as a reverse proxy to handle all traffic, including SSL termination 9. However, JoyalV expressed confusion regarding these advanced steps, noting a lack of experience with Nginx or changing Apache ports, and emphasized they need to install Discourse from scratch alongside existing sites 10, 12. pfaffman warned that running both applications requires at least 2GB of RAM and that without knowledge of Apache configuration, the advanced proxy instructions might be difficult to follow 14.
I have a Ubuntu 16.04 VPS with Apache running two websites. I want to setup discourse but it seems like it will be a docker container (concept I am new to),.
How do I go about giving discourse a subdomain like forum.example.com then ensuring I can install SSL certs with Lets’ Encrypt?
Idk how to “Configure your Apache to listen on a different port.”
And the instruction says "This guide assumes you already have Discourse working " which I don’t. I am trying to install it onto a VPS with 2 normal sites already configured