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.

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:
    1
    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:
    6
    Check that you have a line:

    NameVirtualHost xxx.xxx.xxx.xxx:80

    in your httpd.conf before any VirtualHost directives.
     
Loading...

Share This Page