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!

NameVirtualHost error

Discussion in 'General Discussion' started by BlackBloods, Jul 26, 2014.

  1. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi guys,
    when i try to restart httpd [ service httpd restart] i am getting this error:- [warn] NameVirtualHost ip:80 has no VirtualHosts

    someone plz tell me how to fix this error :(
     
  2. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    Do you have multiple IPs assigned to your server? If so, that might happen if you haven't assigned any virtual hosts to the other IP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Multiple Ip ?
    i think no, how i can check ?
     
  4. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    In WHM, go to Show or Delete Current IP Addresses
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    oh yes, one more ip is there.
    so how i can fix this error ?
     
  6. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    By "one more ip is there", do you mean, "there's more than 1 IP address listed on the page" ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes........
     
  8. cPanelKurtN

    cPanelKurtN Well-Known Member
    Staff Member

    Joined:
    Jan 29, 2013
    Messages:
    95
    Likes Received:
    1
    Trophy Points:
    83
    cPanel Access Level:
    Root Administrator
    It's a harmless warning (not error), and is simply stating that all of your virtual hosts are on the other IP address, and that there are none assigned to the other.

    If the warning bothers you even after knowing what it means, you can remove the IP from your WHM configuration. Or, the next time you assign a new virtual host to your server, consider placing it on the other IP. Either way, the warning message will go away.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. BlackBloods

    BlackBloods Member

    Joined:
    Jul 25, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    oh, so you mean that i should remove second ip right ?
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,301
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You should likely just ignore the warning message. It's harmless, and results in no configuration problems.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice