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.

How to change default Page

Discussion in 'General Discussion' started by pedant, Sep 17, 2004.

  1. pedant

    pedant Registered

    Joined:
    Sep 7, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi there,

    I have two IPs and when i try to access the second ip the default "There is no website configured at this address" comes. I want to change this but i don't know how. Please help me for this, thnx.
     
  2. flash7

    flash7 Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16
    from shell

    pico /usr/local/apache/conf/httpd.conf
     
  3. Myacen

    Myacen Well-Known Member

    Joined:
    Apr 6, 2002
    Messages:
    222
    Likes Received:
    0
    Trophy Points:
    16
    If your going to post make it worthwhile heh.
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    You can edit the httpd.conf file to point the IP to wherever you choose, or you can put your own index.html file in /usr/local/apache/htdocs which is where the file is read from by default.
     
Loading...

Share This Page