Tutorials

Remote Web Access does not redirect as expected

Remote Web Access does not redirect as expected

In Windows server Essentials 2012 R2 the URL ‘remote.yourdomain.com’ would automatically redirect to ‘https://remote.yourdomain.com/remote’ and you will be presented with the Remote Web Access login screen. In Windows Server Essentials 2016 this does no longer work and you are presented with the default page of IIS, see the first screenshot of this tutorial.

Remote Web Access does not redirect as expected

  1. Some of you want to change this so that you get the same experience as in Windows Server Essentials 2012R2. The idea is then that we would change the Physical Path in the Advanced settings of the Default Website and set this to the Physical path value from the ‘\Remote’ application is IIS which is ‘C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess’. This is a bad idea.
    Remote Web Access does not redirect as expected
  2. Now why is this a bad idea? Well, if you look at the Application Pool of each application you will see that the default web site in Windows Server Essentials 2016 has DefaultAppPool set as application Pool. In the below screenshot you see that the \Remote application has RemoteAppPool set as the application Pool. Application Pools are used to isolate applications in IIS band thus creating a more secure environment. The Remote app runs under Remote Apppool with identity NetworkService and the Default Website as DefaultAppPool with identity ApplicationPoolIndentity.  Those identities have different permissions set. Technet has more information on this subject IIS Application Pool.
    Remote Web Access does not redirect as expected
  3. A much better way is to use a http redirect as in the below screenshot.
    Remote Web Access does not redirect as expected
  4. But if you really want to do it as Microsoft has intended this you change nothing and from a client that is connected to the WSE 2016 server you use the Launchpad because that always connects to https://remote.yourdomain.com.
    Remote Web Access does not redirect as expected
    Remote Web Access does not redirect as expected

About www.server-essentials.com 

www.server-essentials.com is founded by Mariette Knap, a Dutch Microsoft MVP. www.server-essentials.com is a community for IT Consultants and Business Owners who, themselves, take care of the IT infrastructure and Employees who do that little extra in the company to keep things running. Our forum is for discussing all things ‘IT’ and more.  Our documentation is top notch and written by and for the community.

Change your cookie settings


 
Contact Us
(030) 2250455

International: +31302250455

 

Concentrix BV

C. de Rijcklaan 1

3723 PM Bilthoven

The Netherlands

KvK 30202318

VAT Id 814036739B01

The layout of this page is made to be viewed online.