none
Dummy question about IIS.

    Question

  • I have a website on IIS.

    This website dosn't have a default.html document in his root folder (and not even .htm, .asp or anyone listed on default document on IIS).

    How could I know which document is using IIS to display the web page? I don't see the document on the URL.

    Can this be configured on web.config or somewhere else?

    Kinda mistery for me.

    Monday, July 29, 2013 10:22 PM

Answers

All replies

  • it's been a while since I tinkered with IIS but could there be a HTTP Redirect set to redirect inquiries to a different directory, it's worth a check, and when you say "this website" do we assume Default Website or some virtual directory under it?  either way just check the HTTP redirect on both the top ie Default Website and then drill deeper until you find something, hope that helps
    Monday, July 29, 2013 10:34 PM
  •   How could I know which document is using IIS to display the web page? I don't see the document on the URL.  Can this be configured on web.config or somewhere else?

    Yes, absolutely.  If the website is written in asp.net vb/c# for example... this can be controlled via the web.config file.  If you don't see any documents listed at the end of the URL for any pages, this means that the site is using the URL Rewrite module, again assuming ASP.NET.   If its PHP, you can control this behavior via the .htaccess file.



    Monday, July 29, 2013 11:01 PM
  • Hello,

    for IIS i recommend to ask in http://forums.iis.net/


    Best regards

    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/

    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

    Tuesday, July 30, 2013 7:52 AM
  • I refer at the website level.

    There's no a entry on HTTP Redirect section.

    Tuesday, July 30, 2013 3:45 PM
  • Yes, the website is in ASP.NET, I don't see any entry at the URL rewrite section.

    Should I look for something in the web.config file?

    Tuesday, July 30, 2013 3:47 PM
  • I found the solution: ASP.NET 4 was not registered with IIS:

    http://stackoverflow.com/questions/2374957/asp-net-mvc-on-iis-7-5

    Wednesday, July 31, 2013 5:29 PM