Edit file /etc/httpd/conf/httpd.conf (CentOS): Edit file /etc/apache2/conf-enabled/security.conf (Debian):
ServerTokens Prod ServerSignature Off
Restart Apache
(CentOS)
#systemctl restart httpd
(Debian)
#systemctl restart apache2
Done.