About Your Default Page for your Website?

About Your Default Home Page

Webhostforasp.net web servers are configured to serve a default document whenever a browser request does not specify a document name in the URL. An example of a request for a default home page is shown below:

http://www.mydomain.com

Default documents are served in the following order:

  • default.htm
  • default.asp
  • index.htm
  • index.asp

When a request for a default page is serviced, the web server will search your public_html 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 e.g if you like to have index.aspx as the default document, you can do that by clicking on IIS Manager menu and add the document there.

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 experiencing this message when accessing your site with a browser, you will 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. Any sub-folders in your site conform to the identical rules for serving a default document.

  • 11 Users Found This Useful
Was this answer helpful?

Related Articles

How to publish my website to your server.

You can publish your website to our server in few different ways. 1. Via FTP Download FTP...