Visit the web server in Firefox.
To hide this information from browsers, make some changes in the Apache main configuration file.
Edit the httpd.conf file:
sudo vi /etc/apache/apache2.conf
Add the following line at the end of file:
ServerSignature Off ServerTokens Prod
Save the file and restart the Apache service to reflect these changes:
sudo apachectl restart
Now, open Firefox and access the web server.