Change or Factory Reset Default Index Page in CPanel
Here we can provide step by step information about the change or factory reset default index page in Cpanel for admin, For Admin Or Reseller For Different Account And For Single User Account.
If you are having the Admin Section and using for the particular website then the below setting is helpful and it has changed the globally for all the account.
The path to be change /usr/local/apache/htdocs/
You could try changing it globally under theApache httpd.conf file
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
For Admin Or Reseller For Different Account
Step – 1 ⇒ If you are owning more than one account for different customer please follow the step by step process.
Step – 2 ⇒ Create the HTML files and put them under /root/cpanel3-skel.
Step – 3 ⇒ when a new cPanel account is created, those files will be placed under the customers /public_html/ directory.
Step – 4 ⇒ 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.
Step – 5 ⇒ WHM >> Main >> Account Functions >> Web Template Editor
Step – 6 ⇒ Here you can change the default page
For Single User Account
Step – 1 ⇒ Please login to the cPanel account.
Step – 2 ⇒ Click on the file Manager Under File Section.
Step – 3 ⇒ Click on radio button with home directory and click on the checkbox with Show Hidden Files(dotfiles).
Step – 4 ⇒ Click on the root folder as in the cPanel by default public_html is root folder for your account
Please note: some hosting providers may be set the root folder as wwwroot or with another name the please confirm which is your root folder.
Step – 5 ⇒ Under root folder public_html please find the .htaccess file, open this file in a text editor
Step – 6 ⇒ After that make the change with DirectoryIndex index.php home.php [Here you can write your index pages]
Reseller99.com is provide best web hosting at lowest price in india.