httpd default index

The HTTP daemon is running. No virtual host configuration matches this request.

Place site files in the document root to override this page.


What just happened

Your browser sent a request to this server and the daemon accepted it. Because no site is bound to the hostname you used, the request fell back to the default catch-all virtual host. The catch-all serves this page.

This is normal for fresh installations and for servers that share a public IP between multiple sites without yet enumerating all of them in the configuration. The catch-all exists precisely so that you do not get a connection refused while you finish wiring up the real vhosts.

Replacing this default

  1. Edit the configuration to add a Listen directive and a <VirtualHost> block for your domain.
  2. Point the DocumentRoot at a directory you control.
  3. Drop your site files into that directory.
  4. Reload the daemon so the new configuration takes effect.
  5. Use curl -I -H 'Host: yourdomain.tld' http://localhost to confirm the right vhost is matched.

Useful one-liners

Logs

Errors land in error_log, requests land in access_log. Both are usually under /var/log/httpd/ on RHEL-family systems and /var/log/apache2/ on Debian-family systems. The retention of those files is controlled by the system log rotator, not by the server itself.


srv-dc-edge-4 · httpd