Report this

What is the reason for this report?

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

Posted on August 4, 2015

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?



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!

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.