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 can I redirect main server host name to a website?

Discussion in 'General Discussion' started by SoftDux, Sep 22, 2008.

  1. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Hi all

    I hope someone can help me with this one, as I can't figure it out. How do I redirect the server main hostname (as setup in WHM > Hostname / WHM > Basic Setup to a specific websites? I'm seeing the default green "Great Success! Apache is working on your cPanel® and WHM™ Server" intro page.

    I would rather have it redirect / load a specific website on the server, is this possible? If so, how?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Simplest (because of the way easyapache now works) would probably to put a header redirect into /usr/local/apache/htdocs/index.html
     
Loading...

Share This Page