Apache | Basic Apache Configuration | Contact Email Address (ServerAdmin)

This article explains how to configure the contact email address, ServerAdmin, in Apache.

ServerAdmin directive

ServerAdmin is used to display the contact email address for inquiries when Apache shows an error.

ServerAdmin email address | URL

This is a contact email address rather than simply an administrator email address. A URL can also be specified instead of an email address.

Search for ServerAdmin in the httpd.conf file, and you should find content like the following.

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g. admin@your-domain.com
#
ServerAdmin admin@example.com

If you specify a URL, use a URL on another server. If Apache fails and the contact URL is hosted on the same Apache server, users may not be able to contact you.

Reference