There was a problem loading the comments.

List of files instead of website

Support Portal  »  Knowledge Base  »  Viewing Article

  Print
If, when you navigate to your website, all you see is a list of files then more than likely your homepage has a non-standard file name. There are a couple of ways to go about resolving this.


Renaming your index filename:
  • Login to your hosting account via FTP
  • Navigate to your web root "/public_html/"
  • Next locate your homepage filename and rename it to "index.html" (if it's a different type of file you will need to use the correct extension)
  • If you attempt to check your website again you should see it displaying correctly


Adding your filename to the htaccess file:
  • Login to your hosting account via FTP
  • Navigate to your web root "/public_html/"
  • Locate and edit the .htaccess file within your account
  • Add the following line within the hataccess file:

DirectoryIndex Default.htm

  • Make the necessary adjustment to the text in bold mentioned above
  • Save the changes, and re-upload the .htaccess file if you downloaded it
  • If you attempt to check your website again you should see it displaying correctly

Performing one, or both, of these steps should have resolved the issue you were experiencing.

Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

Tags

© xilo