Question: apache where is root directory?
Answer: 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. Debian.