Question

How do I store wordpress uploads on a different droplet?

  • Posted on August 6, 2014
  • nathmieAsked by nathmie

I have one droplet that has wordpress website

I always wondered if it was possible to have the uploads folder on another droplet.

This way when I upload a image/audio it goes to the other droplet. I would just use a sub-domain for that droplet.

After uploading it should just point to that server via IP/Sub-Domain.

Is this even possible?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

One way you could accomplish this is to create a NFS mount. With this approach, it would still look like a normal folder to WordPress and you wouldn’t need to handle things like rewriting the urls. You also won’t need to write any php code, just mount the remote directory on boot.

Check out this article:

How To Set Up an NFS Mount on Ubuntu 14.04

It should point you in the right direction.

Interested to hear other solutions people might have… I know there are some plugins that will do this with an Amazon S3 bucket.