ACCUWEBHOSTING.COM
Live Chat
Sales / Billing / Support
Support
FAQ, Help Desk
Affiliate
Earn $20.00 / Sale
+ Reply to Thread
Results 1 to 4 of 4

  1. #1
    blckspder is offline Junior Member blckspder is on a distinguished road
    Join Date
    Aug 2007
    Posts
    3
    Rep Power
    0

    Default change the default page in cPanel



    Hello,

    I am trying to figure out where in cPanel I can go to add home.php to my list a default pages. Does anyone know? If so please let me know and thank you for your time.

  2. #2
    Kris is offline Administrator Kris has disabled reputation
    Join Date
    Nov 2006
    Posts
    10
    Rep Power
    10

    Default Re: change the default page in cPanel

    Hi,

    Just add the below line in the .htaccess file

    DirectoryIndex home.php index.php index.html

    Thanks,

    Kris A.
    AccuWebHosting.com

  3. #3
    nani is offline Junior Member nani is on a distinguished road
    Join Date
    Apr 2009
    Location
    mumbai
    Posts
    7
    Rep Power
    0

    Default Re: change the default page in cPanel

    Hello blckspder,

    There no such option present in cpanel to set default home page for your site. It has to be done using .htaccess file as per kris told you.

    OR

    You can set redirect in cpanel to your home page for your site.

    Thank you.

  4. #4
    kilter is offline Member kilter is on a distinguished road
    Join Date
    Oct 2009
    Posts
    80
    Rep Power
    62

    Default Re: change the default page in cPanel



    There's most likely an index.html file under one of the following locations that contains the default cPanel page:

    /root/cpanel3-skel/
    /usr/local/apache/htdocs/

    Just upload a new index.html to your server and overwrite which ever index.html is present. Technically it should be the /root/cpanel3-skel/ directory, but if no website is configured then the default Apache (htdocs directory) is used which also contains the same cPanel page.


    Cheers,


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Copyright 2010 - 2020 AccuWeb Hosting. All rights reserved. AccuWeb Hosting,
48 Bi-State Plaza #185 Old Tappan, NJ 07675, United States of America

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45