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!

VirtualHost Directives?

Discussion in 'General Discussion' started by SaintDog, Mar 30, 2003.

  1. SaintDog

    SaintDog Member

    Joined:
    Jul 24, 2002
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    151
    VirtualHost xx.xx.xxx.xxx:80 overlaps with VirtualHost xx.xx.xxx.xxx:80, the first has precedence, perhaps you need a NameVirtualHost directive

    What is a NameVirtualHost Directive and how do I create one? I have a user on a dedicated IP and I cleaned up the httpd.conf file because it was a mess from old CPanel updates and such, when I ran

    /usr/local/apache/bin/apachectl configtest

    I got the above, the xx's are the same IP, just covered them to protect the customers privacy.
     
  2. taivu

    taivu Well-Known Member

    Joined:
    Nov 22, 2001
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    306
    Check that you have a line:

    NameVirtualHost xxx.xxx.xxx.xxx:80

    in your httpd.conf before any VirtualHost directives.
     
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