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?
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!
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.
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.