Default document [Answered]RSS

3 replies

Last post Nov 27, 2012 05:10 AM by Igor_Kryltsov

  • Default document

    Nov 25, 2012 07:08 AM|Igor_Kryltsov|LINK

    Hi,

    Anybody knows the answer to this question ?

    If you do - please post here and I will repost it on the other forum.

    Thank you,

    Igor

  • Re: Default document

    Nov 25, 2012 12:11 PM|HostingASPNet|LINK

    Hello,

    It seems as you have received some answers.

    The best way in your case is to make a redirect via your code. Check the requested domain/URL or port, and redirect the user to the appropriate page. The other approach could be to have 2 copies of the site, but it depends on your purpose.

    Regards

    WindowsHostingASP.NET - My favourite site for Windows and IIS hosting information.
    HowtoASP.NET - Free ASP.NET tutorials and source code.
  • Re: Default document

    Nov 25, 2012 04:36 PM|Igor_Kryltsov|LINK

    HostingASPNet

    The best way in your case is to make a redirect via your code. Check the requested domain/URL or port, and redirect the user to the appropriate page. The other approach could be to have 2 copies of the site, but it depends on your purpose.

    Thank you. Both suggestions are not acceptable. I will check webconfig file as suggested by Rovastar in the other topic.

  • Re: Default document

    Nov 27, 2012 05:10 AM|Igor_Kryltsov|LINK

    Answer is here - http://blogs.iis.net/bills/archive/2008/03/22/how-to-add-a-default-document-with-iis7-web-config.aspx

    I am surprised it is done this way now with so many layers of GUIs created around IIS.