Hide WebServer Information on Apache

Date Posted:25-03-2017

In our previous posts, we have seen how to hide webserver information on nginx information. Now, in this post we will show on how to hide server information on Apache webserver. If there is no webserver installed on the host, please follow the below post to install apache webserver on Ubuntu Host.

Install Apache 2.4 on ubuntu

Implementation:

This post deals with Ubuntu host. However, you can refer the same post to implement on Redhat distribution system.

Open the security.conf and add the following lines.

vi /etc/apache2/conf.d/security.conf

ServerTokens Prod
ServerSignature Off

Verify the apache syntax error.

apachectl -t

Restart the apache service.

systemctl restart apache2

 

 

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top