Apache has DocumentRoot directive. This directive sets the directory from which Apache will serve files. Unless matched by a directive like Alias, the server appends the path from the requested URL to the document root to make the path to the document. Link: Finding DocumentRoot (http://www.cyberciti.biz/faq/howto-find-unix-linux-apache-documentroot/)