Question

How do you expand your web files into Block Storage

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.


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.

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