Support Knowledge Base >> Web Hosting >> Web Hosting Control Panel Guide >> Troubleshooting

Search |

Why am I getting a 500 Internal Server Error on my website?

By default, when your site is accessed via a web browser (like Internet Explorer, Firefox, Opera, etc.), the AW GRUP server tries to locate any of the following files (web pages) in the directory and displays its content:

  1. index.html
  2. index.htm
  3. index.php
  4. index.php3
  5. index.php4
  6. index.shtml
  7. default.html
  8. default.htm
  9. default.php
  10. home.html
  11. home.htm
  12. home.php

The above mentioned files are also referred as the Home Page. The order specified above is important as the server tries to locate your home page in this exact order. If the server can not locate your home page, the visitor will get a 500 Internal Server Error.

In the unlikely event that you have used more than one of the above file names, the same order will be followed for selection of the home page. So, if you have a file named index.htm as well as a file named home.html, then index.htm will be your home page.

IMPORTANT
  1. You need to upload one of the above mentioned files within the web directory for your site to be publicly accessible, when someone simply types your domain name in the browser. The web directory is the default directory, where all your files reside. Refer <#faq:819#>.

    For example, if you have bought web hosting for the domain name your-name.com and choose to upload a file called somename.htm in the web directory. Then if a visitor visits http://www.your-name.com then they will encounter the above mentioned error message since the server did not find any home page (mentioned above). This content of this file will only be visible if someone types http://www.your-name.com/somename.htm.

    In this case it would be advisable if you rename somename.htm to index.htm. This would ensure that anyone visiting http://www.your-name.com would be able to view your site immediately, instead of remembering the complete path http://www.your-name.com/somename.htm.
     
  2. The Server expects a home page to be present in every directory within the web directory, so that the default webpage can be automatically displayed to the visitor.

    For example, if you have web hosting for the domain name your-name.com and choose to upload a file called somename.htm in a directory called myfiles in the web directory. Then if a visitor visits http://www.your-name.com/myfiles/ then he will encounter an error since the server would not find any home page (mentioned above). This file will only be visible if someone types http://www.your-name.com/myfiles/somename.htm.
 

Created on:  
Mar 28, 2006 8:27 AM  GMT
Last Updated on:   Sep 9, 2008 11:23 AM  GMT
 
Answer Why am I getting a 500 Internal Server Error on my website? 
Category How do I clear Temporary Internet Files in my Web Browser 
Answer Why am I denied access via FTP? 
Answer Formail mails not reaching their destination