How to do it...

  1. Open Server Manager on Windows Server 2016. Click on the Tools menu and open IIS Manager.
  2. Expand the IIS server (WIN2016IIS). You will get a list of Application Pools and Sites under the Connections pane. You will get three websites listed, which we uploaded in previous recipe: mysite.com, v2mysite.com, and v4mysite.com.
  3. Go to the Sites folder, expand mysite.com, and click on virtualdirectory. This is a simple virtual directory with the default application pool.

 

 

  1. Go to the Actions panel and click on Browse. You will get the http://mysite.com/virtualdirectory URL:
  1. Now let's test both custom virtual directory sites we had created in previous steps for VDapplication and virtualdirectory. You can access both site URLs through any browser, but in my case I used Internet Explorer.
  2. Open Internet Explorer and type the URL http://mysite.com/vdapplication in the address bar. You will get the website application:
  1. In the same way, you can test mysite.com, which has a different version of the application pool, 2and3.5AppPool, which we have already configured in the application pool configuration section.
  2. Open Internet Explorer, and type the URL http://mysite.com/virtualdirectory in the address bar. You will get the website application:
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.70.101