Quick Answer: Where Is the Web Server Root Directory in Linux?
Contents

The default document root for Apache is /var/www/ (before Ubuntu 14.04) or /var/www/html/ (Ubuntu 14.04 and later). See the file /usr/share/doc/apache2/README.

Where is the Web server root directory?

For the Grid, a website’s root directory is the …/html folder. This is located in the file path /domains/. The root directory can be viewed/accessed through File Manager, FTP, or SSH.

Where is Web server located Linux?

Traditionally A stock installation of Apache or Nginx or Arch on Ubuntu Linux will place the directory at /var/www/ .

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest