IIS server of every customer is a separate application. Every application has it's own starting point (also called application root or approot) which is set to separate htdocs directory for each customer. Moreover every application is configured to run as an isolated process (in a separate memory space) which makes them independent of each other completely.
One application pool is created for each Windows 2008 account by default. If you need to run several applications separately on your server, you may create additional application pools.
The number of application pools that could be created is determined by your plan.
For each application pool, you can adjust follwoing settings:
- Select the .NET Framework version to be used. No managed code option can be set if you do not need the .NET Framework and planning to host only .asp files on your website. .NET 2.0 – 3.5 option is to use assemblies from the .NET Framework versions 2.0 to 3.5. .NET 4.0 option to switch the web server to use assemblies from the .NET 4.0 Framework.
- Pipeline mode option switches your application pool between Integrated pipeline mode (available on IIS7) and Classic IIS6 compatibility mode.
- Private memory quota specifies maximum allowed memory limit before the application pool is recycled.
- 32-bit Applications turns on Compatibility Mode for applications that cannot be executed in the 64-bit environment.
You can also start and stop each of your application pools and view the processed requests in real time.
Once application pool is created you can place applications inside by going to HostPilot Control Panel > Web/FTP Server > Applications/Virtual Directories.
Following settings have to be specified for the new application:
- You will have to fill in the phisical path to the directory of application or use Browse button to find the directory and press Select.
- From the virtual path dropdown menu you can select a parent directory if it is needed (only if there are any).
- Specify the virtual path to the directory of application.
- Select application pool for this application and press Create.
You can also create virtual directories for your IIS server which can help you to make shorter path to your real directory.
This can also be done in HostPilot Control Panel > Web/FTP Server > Applications/Virtual Directories.
Following settings have to be specified for the new virtual directory:
- You will have to fill in the phisical path to the directory or use Browse button to find the directory and press Select.
- From the dropdown menu you can select a parent directory if it is needed (only if there are any).
- Specify the virtual path to the directory and press Create.
Note: Changing the ASP.NET version of application pool may take several minutes to be applied to the server, as it requires two web service restarts.
Note: You can also create you application with Microsoft Visual Studio. Following article explins this process: How To Create An Application On IIS7 For My ASP.NET Project Using Microsoft Visual Studio.