Internet Information Services Server
IIS server is provided by Windows in its Operating Systems for Workstations and Server-side usages. This web server lets us host multiple websites with inline capacity to host multiple web applications in one single website.
The run COMMAND shortcut is INETMGR.
All these websites, when started for first time setup/configuration, automatically create an application pool for each of the website deployed.
Please note that an application pool is the overall process space a hosted web application runs in.
This application pool provides the complete local resource allocation for the hosted web application/web site it is assigned to.
So, to make the most of it, tricks are given below:
1. Every web application must be hosted separately. It must be assigned a separate application pool.
"As more than one application running in same application pool divides the resources between them making it insufficient for any of them working on full scale robustly."
2. Every website should also be assigned separate application pool for the same logic as trick mentioned above.
3. All the application pools should run or allow 32 bit applications if there are cross platoform integrations in the hosted application.
4. IIS logs can be in US timestamp format as well as local timezone. For this just change the logging format to IIS from W3C.
5. A hosted website can be made more secure in IIS by setting HTTP Response Headers as below:
Content Security Policy
Feature Policy
HTTP Strict Transport Security (HSTS)
Permissions Policy
X-Content Type Options
X-Frame-Options
X-XSS Protection
Cross Origin Resource Policy (CORP)
Access-Control-Allow-Methods
6. Setting default page for a web application or website helps load the start page without entering the complete page url. Just the application directory works fine.
For e.g. https://myapp.in/App1/Login.aspx
And https://myapp.in/App1 will redirect to the same page.
Note: If you need C# code for smooth application monitoring hosted at IIS remotely, punch in the same in comments section.
Comments
Post a Comment
Provide your valuable feedback, we would love to hear from you!! Follow our WhatsApp Channel at
https://whatsapp.com/channel/0029VaKapP65a23urLOUs40y