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.
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.
Igor_Kryltso...
11 Posts
Default document
Nov 25, 2012 11:08 AM|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
HostingASPNe...
734 Posts
Re: Default document
Nov 25, 2012 04:11 PM|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
Free ASP.NET Examples and source code.
Igor_Kryltso...
11 Posts
Re: Default document
Nov 25, 2012 08:36 PM|LINK
Thank you. Both suggestions are not acceptable. I will check webconfig file as suggested by Rovastar in the other topic.
Igor_Kryltso...
11 Posts
Re: Default document
Nov 27, 2012 09:10 AM|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.