Bluehost Web Hosting Help
Avoiding index html
Avoiding index.html
This article will show you how you can use a file other than the index.html as your home page.
Locating the .htaccess file in the File Manager
- Log in to your Bluehost cPanel account. Make sure you are in the cPanel tab.
- Locate the Files section.
- Click the File Manager icon.
- Check the View Hidden Files checkbox.
- You will need to open the folder for the domain name you are editing. If it is your main domain name then select public_html folder/yourdomainname.
- Right click the .htaccess and choose Code Edit.
In the .htaccess file you will need to change the directory index file. To do this simply add one of the following codes in the file:
- Using Home.htm:
DirectoryIndex home.htm index3.php index.htm index.html default.htm - Using Welcome.html:
DirectoryIndex Welcome.html index.htm index.html default.html - Using Index.html:
DirectoryIndex Index.html home.htm index.htm index.html default.htm
Recommended Help Content
Stopping Display of All files on Web page
How to Stop A Directory Index From Being Shown
PHP pages do not display
If suddenly when you go to your page, you get nothing on the page. You can still get HTML to display, just not PHP. To serve HTML pages to browsers, we don't associate the Apache processes with your 2
Directory Index
Explains the use of DirectoryIndex and how to use it.
Related Help Content
Redirects that do not work due to PHP variables
The redirection of www.yourdomain.com/default.html or index.html to http://www.yourdomain.com/index.php?act=whatever redirects it to http://www.yourdomain.com/index.php%3fact=whatever In other words,
How To Host Primary Domain From A Subfolder htaccess
How do I make a sub directory (or sub folder) act as the public_html for your main domain?
htaccess Tutorial
What is the .htaccess file and where can I find more information?
Character sets in HTML
Instructions to set different character sets in HTML. Note: Not all character sets will be correctly rendered with this encoding format, but most will. You can find specific information about which ch
Index Manager
What is the Index Manager? How do I use the Index Manager?
How To Edit An .htaccess File - Edit htaccess file in cPanel's File Manager
Explains how to edit the .htaccess
Hotlink Protection Using mod_rewrite
Preventing bandwidth theft using the mod rewrite engine and .htaccess
How to fix ExecCGI in .htaccess
How to run CGI scripts for Addon domains.