How to set a default page for your website from cPanel?
This article will guide you how to set a deault page for your website from cPanel. For this, kindly follow the below mentioned steps:
- Login to cPanel.
- Click on File Manager.
- Go to the folder under public_html folder where your web pages are located.
- Search for .htaccess file.
- If the file is not there in your directory, then create it manually.
- You will need to add the below mentioned line in this file in order to set a default page for your website:
DirectoryIndex FileName1 FileName2 FileNameN
For example, if you want to set login.php file as the default page of your website, then add the below line in the .htaccess file:
Was this answer helpful?
You can change FTP password from cPanel using following steps: Login to cPanel. Go to the...
You can download compressed MySQL database backup from cPanel. You will need to perform the...
When you receive any mail on the server, you need to discard some emails (i.e. spam mails),...