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!

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:
    151
    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,191
    Likes Received:
    1
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    Add that just before all the other virtualhost entries.
     
    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