gnetwork-cp

Member
Mar 1, 2016
23
6
3
Australia
cPanel Access Level
Root Administrator
About a week ago, when restarting apache using ssh, I got the following notice:
"AH00548: NameVirtualHost has no effect and will be removed in the next release..."
Same issue seen in this post:
NameVirtualHost has no effect error?

I ran the rebuild mentioned in that post, and also rebuilt the EA4 profile, the notice disappeared for couple of days, then came back!

Any easy way to stop these residual NameVirtualHost entries from regenerating?
 

gnetwork-cp

Member
Mar 1, 2016
23
6
3
Australia
cPanel Access Level
Root Administrator
Thanks for suggestion. For some reason only one virtual host had the NameVirtualHost entry stuck.
I resaved that domain's zone, and ran /scripts/rebuildhttpdconf - the NameVirtualHost entry has disappeared again, and hopefully will stay like that.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

The "NameVirtualHost has no effect and will be removed in the next release" message is informational and will not result in any issues accessing your websites. It's no longer used as of cPanel version 68:

Fixed case CPANEL-15364: Avoid adding NameVirtualHost to httpd.conf when using EA4.

Thank you.