×
  1. Step - 1: Create a directory. $ mkdir /home/masud/www/
  2. Step - 2: Open apache2 configuration file. ...
  3. Step - 3: Open default virtual host configuration file from path. ...
  4. Step - 4: Finally restart apache.
People also ask
Apr 29, 2022 · Search for the location of your document roots by using the grep command to search in the /etc/apache2/sites-enabled directory. This limits the ...
Jul 27, 2016 · Step 1 — Copying files to the new location. On a fresh installation of Apache, the document root is located at /var/www/html . If you're working ...
Oct 28, 2015 · I knew how to do it on Apache 2.2, however, how do I change the document root on Apache 2.4? I run Debian 8.20 on a Virtualbox VM as my apache ...
May 30, 2022 · Start Here · Step 1 – Transfer The File To A New Location · Step 2 – Modifying Apache Config Files · Step 3 – Implementing the Changes.
May 10, 2022 · step 1 :To change Apache's root directory, run: cd /etc/apache2/sites-available. step 2 :Then open the 000-default.conf file using the command: ...