Report this

What is the reason for this report?

Move an Apache Web Root to block storage

Posted on April 4, 2018

I read this https://www.digitalocean.com/community/tutorials/how-to-move-an-apache-web-root-to-a-new-location-on-ubuntu-16-04 But its for ubuntu I want to move my document root to my block storage located in /mnt/files files is my volume name and i already copy my html there can someone help am new to this



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 process should be pretty much the same for centos as it is for Ubuntu in this respect.

A consideration is to ensure Apache has the correct file permission and ownership in the new location.

sir i think its my permission problem can you help me to correct it

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.