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!

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

    Joined:
    Oct 22, 2010
    Messages:
    691
    Likes Received:
    14
    Trophy Points:
    68
    Hello,

    i want to ask for help with this

    the command "service httpd restart" started returning this:
    Code:
    Warning: DocumentRoot [/dev/null] does not exist
    [Sun Oct 12 19:01:22 2014] [error] VirtualHost 1.2.3.4:0 -- 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 1.2.3.3 and 1.2.3.4 is additional shared IP which dont have any domains on it. This .4 IP does only mess

    the 1.2.3.4 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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 postcd, Oct 12, 2014
    Last edited: Oct 13, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    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.
     
    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