blakep
By:
blakep

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

August 4, 2015 2.5k views
Ruby on Rails Nginx DigitalOcean WordPress

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 www.company.com hosted on droplet A, is it possible to host a blog at www.company.com/blog 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?

1 Answer
Have another answer? Share your knowledge.