Amazon Web Services Apache

How to hide/ disable server signature in AWS EC2 (Ubuntu / Apache)

Written by Deep

For security purpose sometimes we need to hide our server identity. We can hide server signatures by folloiwing these steps :

Step: 1

Login with your AWS – EC2 Instance using SSH.

Open your apache server config file present at /etc/apache2/ using following command:


Step: 2

Now add the following code if missing, in case if exists please uncomment it:

Save the file and restart Apache server using :



Leave a Comment