What is my original default page?
Originally, when you start and create a new website via your control panel, there will be a list of "default” files and folders. You can start previewing the site directly and the default page that is loaded is based on the order as followed:
- default.htm
- default.asp
- index.htm
- index.asp
When a request for a default page is serviced, the web server will search your httpdocs folder and return the first matching document it finds in the list shown above.
Please note, that you can easily add default document that you like from control panel.
For instance, if you like to have index.aspx as the default document, you can do that by clicking going to your control panel -> click on your domain -> Web Directory -> Default Document tab and you need to add your own default document here, i.e. index.aspx.
If the root directory of your site does not contain a valid default document to serve, a browser request will typically display this message:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
If you are experiencing this message when accessing your site, you just need to create a home page (or rename an existing one) to match one of the valid default document names. The home page needs to be uploaded to the root folder of your site, i.e. httpdocs folder. Any sub-folders in your site conform to the identical rules for serving a default document
Article ID: 20
Created On: Mon, Apr 30, 2012 at 10:02 PM
Last Updated On: Tue, May 1, 2012 at 1:08 AM
Authored by: ASPHostServer Administrator [asphostserver@gmail.com]
Online URL: http://faq.asphosthelpdesk.com/article.php?id=20