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!

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:
    994
    Likes Received:
    2
    Trophy Points:
    168
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    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
     
    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