change the default page in cPanel

Collapse

Unconfigured Ad Widget

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • blckspder
    Junior Member
    • Aug 2007
    • 3

    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.
  • Kris
    Administrator
    • Nov 2006
    • 9

    #2
    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
    AccuWebHosting.Com
    [email protected]

    Comment

    • nani
      Junior Member
      • Apr 2009
      • 7

      #3
      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.

      Comment

      • kilter
        Member
        • Oct 2009
        • 79

        #4
        AccuWeb.Cloud
        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,

        Comment

        Working...
        X