---

How to Change Default Apache “DocumentRoot” Directory in Linux

In this short tutorial, you are going to learn how to modify the root directory for Apache web server. For the purpose of this tutorial, we will use Ubuntu/Debian and RHEL/CentOS/Fedora based installations of the web server.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis