Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NameVirtualHost has no effect

Discussion in 'EasyApache' started by gnetwork-cp, Sep 27, 2017.

  1. gnetwork-cp

    gnetwork-cp Registered

    Joined:
    Mar 1, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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?
     
  2. webhostuk

    webhostuk Well-Known Member

    Joined:
    Sep 11, 2013
    Messages:
    113
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Can you open your httpd.conf file and check if the entry for Virtualhost is :
    <VirtualHost xxx.xx.xxx.xx:80> where (xxx is your IP ) try to replace it with : <VirtualHost *:80> and restart apache.
    Check if that solved the problem.
     
  3. gnetwork-cp

    gnetwork-cp Registered

    Joined:
    Mar 1, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page