I’m starting from scratch and have read dozens of tutorials and am trying to figure out the best approach for a novice to build a WP site with Discourse on the same droplet… With WP as the main domain, and Discourse as a subdirectory (not a subdomain, if possible - just like the community is set up here on DO with a /community). I also want to make sure i’m not missing any critical components like security or thinking about scaling this site, into the future.
Here’s some things I want to make sure I get right… out of the gate:
From what I’ve looked up, here’s the process I’m looking at following:
My trouble is that there is sooooo much great info (tutorials) in these forums/documentation but I don’t know which documentation to follow, in which order… b/c I couldn’t figure out the best order of operations here.
PS. I’m understanding most of what I’m reading as I’ve been learning about the LEMP stack and NGINX, etc. but I don’t have any expereince with backend development. I have a moderate to advanced understanding of HTML and CSS and a theoretical understanding of Javascript… but that’s it!
Would I do well to install and run this stuff through a WHM/cPanel?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Based on the comment in this thread, from the Discourse co-founder Jeff Atwood, it sounds like the best practice would be to have Discourse set up as a subdomain instead of a subdirectory (folder).
So anyone answering the question above, please consider the question in the context of having Wordpress on the main domain and Discourse as a subdomain.
Best practice is to set up them up on separate droplets similar to how you set them up in Docker. You can user Apache tricks to the a subdirectory on Wordpress point to your discourse server.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.