Possible to host blog in a subfolder on a different droplet?

Posted August 4, 2015 4.7k views
Ruby on RailsNginxWordPressDigitalOcean

We have a droplet running our production app. The droplet serves our marketing site, our web app, and our API that’s used by our iOS and Android apps.

We want to launch a blog. According to Seomoz it’s better to have the blog live in a subfolder and not a subdomain.

But, I really don’t want Wordpress running on our production server for security and resource consumption reasons.

So, the question: if our site is hosted on droplet A, is it possible to host a blog at on a different droplet B?

For reference, our stack is nginx, unicorn, rails. I’m wondering if there’s some sort of nginx rule I could use to redirect requests to /blog to another droplet?

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.

Submit an Answer
1 answer