Results 1 to 4 of 4

Thread: change the default page in cPanel


  1. #1
    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
    Join Date
    Nov 2006
    Posts
    9
    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
    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
    Join Date
    Oct 2009
    Posts
    79
    Rep Power
    69

    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
  •  
Sign up for a News Letter Click here to sign up