How to change Apache directory

I want to place and store all my website’s files on the additional volume (/mnt/Plus10).

I’ve changed the path in the 000-default.conf, reloaded the apache, but this was not successful. How to do this in a correct way? (Ubuntu 20.04).

Thank you!

Isn’t easier mount the volume on /home ?

3 Likes

Thank you. Could you please help me to understand how to do this in the correct way?
Should I give special permissions to the /mnt/Plus10?

P.S. And yes, I’ve found that my websites stored in /home/user/ but not in /var/www as it was noticed in Apache settings. So my changes to the Apache’s configs just ignored by the server.

You need to move the home directory just Google how to

https://www.google.com/search?q=how+to+mount+volume+in+linux&oq=how+to+mount+vol&aqs=chrome.3.0j69i57j0l8.9541j0j4&sourceid=chrome&ie=UTF-8

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.