Check Unsecure HTTP Header
Check the HTTP header of your server, You will see the version of Apache2 server running. Hackers can use this information for hacking. You can see that your server is running with Apache 2.4.18 server.
Hide Apache Version
Edit your Apache configuration file and Add/Edit following variables. After making changes restart your Apache service.
Check HTTP Header
After making above changes, re-check the HTTP header values using the following command. Now you can see that header is only showing that Apache is running, but no version or OS details available there.