You can create your custom index file by using an existing or creating a new .htacess file This gives you the flexibility to use home.html or any file name as your default index.
You may use FTP or cPanel's file manager to achieve this customization.
FTP method:
- Create a new text file via notepad or any simple note editor.
- Add the following code: DirectoryIndex home.html
- Note that you can add any file name as your default index file.
- Save the text file as .htaccess
- Upload it in your desired folder via your favorite FTP client such as Filezilla
cPanel method:
- Once logged into cPanel click on the File Manager icon
- Browse to public_html or any folder you wanted to add this custom default index file.
- Click on create a new file inside the file manager and name the new file .htaccess
- Right-click on the newly created file and click edit
- Once the editor is open, simply add the code: DirectoryIndex home.html
- Save and close the file.
.htaccess file is recursive, meaning it affects all the subfolders that do not have their .htaccess file so you might want to take caution in using this.