Computer Tips - Apache: "AH00548: NameVirtualHost has no effect and will be removed in the next release filename"

Date: 2021apr13 Product: Apache Keywords: journalctl Q. Apache: "AH00548: NameVirtualHost has no effect and will be removed in the next release <filename>" A. Just remove the NameVirtualHost lines from your config files. Probably in /etc/httpd/conf.d If you have
NameVirtualHost example.com:80 <VirtualHost example.com:80> ServerName example.com ... </VirtualHost>
Change it to
<VirtualHost example.com:80> ServerName example.com ... </VirtualHost>