Report this

What is the reason for this report?

How do you expand your web files into Block Storage

Posted on February 20, 2017

Hey I recently created a block storage volume and successfully moved all of my websites /videos folder to the volume and then used an Apache alias to successfully point to this repository. The problem is that my php script that processes the video is no longer accessible via the web with the alias in Apache. So I’ve undone the alias while I wait for an answer on the best way to expand a droplet/website with storage. I haven’t been able to find an answer on how to run php scripts on the block storage volume. Any help is much appreciated.



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.

I would probably create a symbolic link: ln -s /blockstorage/video-folder /var/www/html/web-video-folder Remember not to add slashes to the end, since it’s a folder. And the web-video-folder is not allowed to exists, since that would be the link blockstorage. If you want to remove the link again, just use this: unlink /var/www/html/web-video-folder

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.