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.

DocumentRoot [/dev/null] does not exist - mixing * ports and non-* ports

Discussion in 'General Discussion' started by postcd, Oct 12, 2014.

  1. postcd

    postcd Well-Known Member

    Oct 22, 2010
    Likes Received:
    Trophy Points:

    i want to ask for help with this

    the command "service httpd restart" started returning this:
    Warning: DocumentRoot [/dev/null] does not exist
    [Sun Oct 12 19:01:22 2014] [error] VirtualHost -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
    (i changed IP in above output)

    while main VPS IP is and is additional shared IP which dont have any domains on it. This .4 IP does only mess

    the is "Main/shared IP for: nobody"

    Please any idea what can be the cause and how to remove this issue? I can do commands you tell me to do.
    Thank you

    //update: i solved it by removing IP physically from VPS and then going to WHM/Service configuration/Apache configuration and modiffying some value, Save. So it rebuilt httpd config i think. Then no error on restart. Not sure what was the cause.
    #1 postcd, Oct 12, 2014
    Last edited: Oct 13, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to see you were able to resolve the issue. Note that this can sometimes happen when the hostname of the server is added to an account. Thank you for updating us with the outcome.

Share This Page