Apache HTTP Server Test Page

This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions.

What to do next

For the administrator

The default document root for a fresh Apache installation is /var/www/html. Drop your own index.html there and Apache will serve it on the next request without a restart.

If you need more than one site on this server, add a <VirtualHost> block for each hostname in /etc/apache2/sites-available/ and enable it with a2ensite. The same machine can comfortably host dozens of small sites on a single IP address.

Run apachectl configtest before every reload. It catches typos and missing modules before they take the server down.

HTTPS

Issue a certificate from any ACME-compatible CA, copy the certificate and key into /etc/ssl/, and add a matching <VirtualHost *:443> block with SSLEngine on and pointers to the new files. Most distributions ship an example file under sites-available/default-ssl.conf that you can copy and adapt.

Logs and diagnostics

Errors land in /var/log/apache2/error.log. Watch them live with tail -f while you experiment. Per-site logs are configured with the ErrorLog and CustomLog directives inside each virtual host block. Rotation is handled by logrotate with the package-supplied configuration.


For documentation, visit httpd.apache.org.

srv-test-1 · apache2