Question

Move an Apache Web Root to block storage

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

Subscribe
Share

Submit an 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.

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

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.