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.

IP Views Sites...

Discussion in 'General Discussion' started by yoohost, Oct 8, 2004.

  1. yoohost

    yoohost Member

    Joined:
    Sep 2, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi, have a problem here.

    When you enter the main shared IP of the server: http://67.18.180.226

    You see a site on the server instead of the /usr/local/apache/htdocs/ files..

    Any fix for this?


    Thanks!
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    add this at your httpd.conf and restart apache:
    ==============================
    <VirtualHost ip>
    BytesLog domlogs/servername-bytes_log
    ServerName Servername
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>
    ==============================
    that will do.
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Add that just before all the other virtualhost entries.
     
Loading...

Share This Page