Sir_Reyowski is trying to install Wordpress and Discourse on the same Ubuntu server, with Wordpress at mydomain.com and Discourse at forum.mydomain.com or mydomain.com/forum. However, he’s encountering conflicts using Docker for Discourse and Apache or Nginx for Wordpress.
Sir_Reyowski has tried various methods but hasn’t succeeded, prompting pfaffman to suggest using two separate servers or trying a subfolder setup, and sharing some relevant guides.
Other users, such as ron_jeremy, have found success using separate servers, while Cameron_D suggested using Docker for both Discourse and Wordpress. Grex315 shared a guide that worked for them, using Nginx to run both Wordpress and Discourse on the same server.
Sir_Reyowski has since found a solution that works for him, hosting Wordpress on his web hosting and pointing a subdomain to his VPS.
I’m currently using an Ubuntu server and I want to install Wordpress and Discourse, for example: mydomain. com (Wordpress) forum.mydomain. com or mydomain. com/forum (Discourse)
I tried some things but failed. Discourse need to be installed with Docker and Wordpress with Apache or Nginx, but there are some conflincts when I’m using both.
I’ve searched and read some topics but none helped me (not my situation or didn’t understood them).
Without knowing what topics you read or you tried, there isn’t much way to know what to tell you. The easiest is to use two separate servers. The hardest is to try the subfolder (example.com/forum).
Docker can be used to run applications other than Discourse. There is a preconfigured WordPress docker container here:
That can run alongside Discourse, then you follow the guide for running other websites on the same machine as Discourse and set up nginx on the host to serve the two subdomains (or Traefik in another container if you’re adventurous).