How Do I Change the Default Apache Directory in Ubuntu?
Contents

Where is default Apache directory?

Configuration Files and Directives

If you installed httpd from source, the default location of the configuration files is /usr/local/apache2/conf . The default configuration file is usually called httpd. conf . This, too, can vary in third-party distributions of the server.

Where is Apache home directory on Linux?

2 Answers. /var/www/ is the default installation directory for Apache2.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest