How to change or reset the default page in cPanel

How to reset the default page in cPanel

For Admin for individual Account
If you are having the Admin Section and using for particular website then the below setting is helpful and it has change the globally for all the account.

The path to be change /usr/local/apache/htdocs/
You could try changing it globally under the Apache httpd.conf file
<IfModule mod_dir.c>
DirectoryIndex abc.pl index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm defaul.html
</IfModule>

Admin Or Reseller For Different Account
If you are having more then one account for different customer please follow the below settings
Create the HTML files and put them under /root/cpanel3-skel and when a new cPanel account is created, those files will be placed under the customers /public_html/ directory. If you do not have root (such as if you're a reseller) then there should be a /cpanel3-skel/ directory under your primary reseller account.
WHM >> Main >> Account Functions >> Web Template Editor
Here you can change the default page

For single User Account
Please login to the cPanel account.
==> Click on the file Manager Under File Section
==> Click on radio button with home directory and click on check box with Show Hidden Files (dotfiles).
==> Click on the root folder as in the cPanel by default public_html is root folder for your account
Please note : some hosting provide may be set the root folder as wwwroot or with another name the please             confirm which is your root folder.
==> Under root folder public_html please find .htaccess file, open this file in text editor
==> and make the change with DirectoryIndex index.php home.php [Here you can write your index pages]

Was this answer helpful?

 Print this Article

Also Read

How To Upload The WebSite Content (cPanel)

How to upload your website files and folders to the server or your hosting space? For uploading...

How to login in control panel (cPanel Panel) ?

How to login in control panel (cPanel Panel) After getting the login credential, there is three...

How to See all the current running information about PHP at our Hosting server.

  For this you need to create one .php file with phpinfo() function which show you all the...

How do you redirect your website using a .htaccess file OR Set Default Page ?

How do you redirect your website using a .htaccess file? How to set the default page for...

How to login to our Linux Server through Secure Shell (SSH) ?

    As per Operating SystemLinux distributions include support for SSH by default as well....

Powered by WHMCompleteSolution