How to Change Default Apache DocumentRoot Directory in Linux

Apache web server is probably the most-used web server across platforms including different Linux distributions and Windows. The web server is used to deliver web content and can serve many queries at once. Here’s how to change the default DocumentRoot directory on this powerhouse server.