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!

default page for domain

Discussion in 'General Discussion' started by hostgut, Oct 20, 2011.

  1. hostgut

    hostgut Registered

    Joined:
    Sep 9, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    I wanted to see about getting a default page for my server.

    When someone adds a domain to my server it shows the cgi bin yellow ugly page.

    I want to have it mention my web hosting company as well as look better. How do I do this?

    Thanks
     
  2. hostgut

    hostgut Registered

    Joined:
    Sep 9, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    I am willing to pay someone to do this for me.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,471
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    To set a default website page for a new account, you can use WHM > Web Template Editor and change the content for "Default Website Page"

    Alternatively, you could edit /usr/local/apache/htdocs/index.html page and change the redirect it has from this:

    Code:
    <html><head><META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi"></head><body></body></html>
    To use your site url instead so that it goes to your site for the default page. Replace URL=/cgi-sys/defaultwebpage.cgi with URL=http://mysite.com instead.
     
    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