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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

chanign default html

Discussion in 'General Discussion' started by ilan, May 16, 2005.

  1. ilan

    ilan Member

    Joined:
    Jan 8, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    Hi,
    I have set up whm/cpanel.

    question is when I go to my http://server."myserver".com without any /whm or cpanel/ it shows me the default "There is no website configured at this address." page, how can i change that page ?

    Thanks, Ilan
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    That page is /usr/local/apache/htdocs/index.html

    If you want it to go to an actual site, comment out in httpd.conf the first VirtualHost definition that looks like:

    <VirtualHost 11.22.33.44>
    BytesLog domlogs/host.domain.com-bytes_log
    ServerName host.domain.com
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>

    And either add host.domain.com to your own site, or make your own site the first VirtualHost for 11.22.33.44 the first one.
     
    #2 chirpy, May 16, 2005
    Last edited: May 16, 2005
Loading...

Share This Page