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.

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:
    1
    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:
    1
    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:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    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.
     
Loading...

Share This Page