Hello everyone ! :) I’m really puzzled by a little problem with my personnal website project : I can’t manage to install any Discourse instance on my droplet, with already WordPress and Apache installed.
I know there are already many threads for this. But they don’t exactly fit to my case : Install Discourse in a Docker container, with Apache used to serve WordPress.
For example, this thread is for installing WordPress on a droplet with Discourse. But I need the reverse : https://www.digitalocean.com/community/questions/need-help-with-installing-discourse-and-wordpress
And this one is for installing Discourse on a droplet / server with WordPress served by Nginx. But my WordPress is served by Apache : https://blog.khophi.co/install-run-discourse-behind-nginx-right-way-first-time/
So it doesn’t fit to my situation.
The manipulations are probably 95% similar between Apache and Nginx, but I don’t want to do any mistake.
I could use a separate droplet for Discourse, but I need to use Discourse’s API to share its database with a custom social network app, created by the main programmer of my project. And it also uses a JSON add-on installed on the WordPress instance.
So it will be way simplier if I can install all that stuff on the same droplet. Without any conflicts.
Apache is listening to port 80.
My droplet uses Ubuntu 18.04.
Discourse will be installed on a subdomain : forum.example.com. DNS records are already done.
Any tips or suggestions are welcome ! :)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!