×
People also ask
Step - 1: Create a directory. $ mkdir /home/masud/www/ · Step - 2: Open apache2 configuration file. $ sudo nano /etc/apache2/apache2.conf · Step - 3: Open default ...
Missing: q= | Show results with:q=
May 14, 2016 · To change the document root for your Apache web server simply open the corresponding file with your favourite text editor and search for ...
Missing: q= | Show results with:q=
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 29, 2021 · /var/www/html · /var/www · /etc/apache2/sites-available/000-default. · sudo nano /etc/apache2/sites-available/000-default. · DocumentRoot /var/www/ ...
Missing: q= | Show results with:q=
Feb 18, 2021 · DocumentRoot is the root directory from which the Apache web server serves the content for your website's visitors. The default DocumentRoot for ...
Missing: q= | Show results with:q=
Method #1: Using symbolic links ... You can change the document root directory by moving the contents of the public_html directory to another directory, and then ...