Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,


I have a simple ASP website that i have deployed to a domain that i have been given. All the files were placed in the public_html folder.

However, when i navigate to the site using my web browser it shows a listing of all the files in the public_html folder instead of loading and displaying my Default.aspx page.

Can anyone tell me what i may be doing wrong? I am quite new to this and in desperate need of assistance..


Thanks in advance,
Kalvin
Posted
Comments
Mark Salsbery 24-Jun-11 12:04pm    
What web server platform? IIS? Is the web server set up for ASP.NET? Fort example, on IIS you may need to run the ASP.NET IIS Registration Tool (Aspnet_regiis.exe)[^].
jchoponis 26-Jun-11 23:21pm    
yes - without asp.net installed on the web server, your files will not work...also, you may have to pick the "default" document that will be displayed when someone hits your website.

1 solution

Assuming you are using IIS you have to set default page as default.aspx by right clicking you website is IIS and select documents and set Default.aspx as your default document and disable directory browsing.

Hope this helps...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900