Announcement

Collapse
No announcement yet.

change the default page in cPanel

Collapse

Ads on showthread pages

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • change the default page in cPanel

    WordPress Hosting on SSD Servers
    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
    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
    support@accuwebhosting.com

    Comment


    • #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


      • #4
        ASP.Net Hosting starts @ $3.18/Mo.
        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
        Sign up for a News Letter Click here to sign up