Would you like to learn how to configure the identification banner on the Apache server? In this tutorial, we are going to show you how to change the Apache token on a computer running Ubuntu Linux.

• Ubuntu 20
• Ubuntu 19
• Ubuntu 18
• Apache 2.4.41

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Apache - Change the server identification banner

Install the Apache server and the required packages.

Copy to Clipboard

Verify the configured Apache token.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the Apache header.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Edit the Apache configuration file.

Copy to Clipboard

Here is the file, before our configuration.

Copy to Clipboard

Here is the file, after our configuration.

Copy to Clipboard

Restart the Apache service.

Copy to Clipboard

The Apache header will only display the basic information.

Copy to Clipboard

In our example, we configured the Apache header to display the minimum amount of information.

In our example, we disabled the Apache server signature header.

Apache Token - Configure server header

Congratulations! You have finished the Apache header configuration.

Apache - Configure a custom server header

Install the Apache server and the required packages.

Copy to Clipboard

Verify the configured Apache token.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the Apache header.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Edit the Apache configuration file.

Copy to Clipboard

Here is the file, before our configuration.

Copy to Clipboard

Here is the file, after our configuration.

Copy to Clipboard

Restart the Apache service.

Copy to Clipboard

Verify the configured Apache token.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the Apache header.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

The Apache header will display the IIS server information.

Apache Banner - Configure server header

In our example, we configured the Apache header to display the information of an IIS server from Microsoft.