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: https://hub.docker.com/_/wordpress/
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).