Thanks Adrian. Only I deleted the default website ( because a course I was following told me too ) Any idea how I can go about setting the website as the root of the Default web site?
_____ From: [email protected] [mailto:[email protected]] On Behalf Of Adrian Halid Sent: Saturday, 30 April 2016 4:37 PM To: 'ozDotNet' Subject: RE: Is the following possible in Windows 2012 R2 IIS? Yes it is possible to have two websites sites running under IIS with one using Classic and another using Integrated. Firstly make sure you have two application pools. One for Classic and another for Integrated. By default, I think they have them listed. But you can create more so each web application on the IIS server can have its own worker processes. I would then setup the website as the root of Default Web Site. Configure it to use the Classic application pool. This way you don't have to bother with URL Rewrites. Then create a child application for your web service as you have already done so. Configure it to use the Integrated Application pool. That should be it. Regards Adrian Halid From: [email protected] [mailto:[email protected]] On Behalf Of Kirsten Greed Sent: Saturday, 30 April 2016 2:07 PM To: 'ozDotNet' <[email protected]> Subject: Is the following possible in Windows 2012 R2 IIS? I don't have much experience with IIS I have a web site needing a classic application pool and a web service needing an integrated application pool Can I set up IIS to host them both with the same domain name ? I have tried setting up both the service and the website as child applications underneath the domain site in IIS. Thus I have testname.com.au with testname.com.au/mysite and testname.com.au/myservice I have tried following the blog here to rewrite testname.com.au to testname.com.au/mysite http://weblogs.asp.net/owscott/iis-url-rewrite-hosting-multiple-domains-unde r-one-site <https://apac01.safelinks.protection.outlook.com/?url=http%3a%2f%2fweblogs.a sp.net%2fowscott%2fiis-url-rewrite-hosting-multiple-domains-under-one-site&d ata=01%7c01%7cadrian.halid%40itvision.com.au%7cce1d0f14cc034cf5d28f08d370c01 295%7c56de4d2b35484e439e4b413cafaebf8d%7c1&sdata=Tk%2bxHON65ZfHJ1nstE8jFORYj CezcbUA4UdGz%2bQGjkw%3d> However my rewrite attempt does not bring up the login page Maybe because my website makes use of FormsAuthentication.RedirectToLoginPage() ? Am I going about things the right way? __________ Information from ESET NOD32 Antivirus, version of virus signature database 13415 (20160429) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com
