- What is IIS? A Basic Tutorial of the Windows Web Server
- Versions and History
- Virtual Directories
- LOG Files
- Ports
- Настройка IIS 7.0 для Windows Communication Foundation Configuring Internet Information Services 7.0 for Windows Communication Foundation
- Минимальная установка: установка службы WAS Minimal Installation: Installing WAS
- Службы IIS 7.0: установка по умолчанию IIS 7.0: Default Installation
- A flexible & easy-to-manage web server.
- Recent Blog Posts
- How to use the IIS Insider docker tag
- IIS URL Rewrite — one of known issues with the rewriteBeforeCache feature
- IIS 8.5 SNI – Fixing SSL_ERROR_BAD_CERT_DOMAIN
- Resolving IIS WMSVC Underlying Connection Was Closed
- Представляем IIS Express
- Как обстоят дела в наше время
- ASP.NET Development Server
- IIS веб-сервер
- IIS Express – все лучшее
- Интеграция с VS 2010
- Набор возможностей IIS 7.x
What is IIS? A Basic Tutorial of the Windows Web Server
IIS (which stands for Internet Information Services or Internet Information Server) also known as Windows web server is available on most versions of Microsoft Windows operating systems and takes second place in overall usage behind Apache HTTP Server on the internet.
It will host websites, web applications and services needed by users or developers. Many versions have shipped as far back as IIS 1 on Windows 3 and with nearly every new Windows OS a new IIS version follows.
Versions and History
Microsoft Windows Server 2003 or IIS 6 is the oldest version you would want to run for anything outside of a hobby or testing, which does supports IPV6 as well as modern security measures.
However in a professional environment IIS 8.5 or 10 (Still in Beta) will receive official software updates for years to come and support more modern applications and needs.
- IIS 6 or Windows Server 2003 is no longer receiving any updates from Microsoft but supports IPV6 and most security measures needed for simple hosting needs on a budget.
- IIS 7 shipped with Windows Vista and has better support for the .NET framework and some security enhancements over IIS 6.
- IIS 7.5 Shipped with Windows 7 and added support for TLS 1.1 and 1.2. Extended support will end in 2020 this is the oldest version receiving any support officially from microsoft.
- IIS 8 also known as Microsoft Web Server 2012 began supporting SNI or associating SSL to hostnames instead of IP addresses and multicore scaling. Support will last until 2023.
- IIS 8.5 shipped with Windows 8.1 and has new features such as Enhanced logging capabilities and Dynamic Site Activation.
- IIS 10 is currently in beta and will support modern technology such as HTTP/2 and powershell 5.0.
If you are a business owner consider purchasing the newest version your hardware can run.
IIS 8.5 is currently the most stable and secure version as of this writing, however once out of beta ISS 10 will become your best bet. If you are hosting a basic website on your own and cannot afford a newer version consider Apache Server instead of anything older than IIS 6.
Virtual Directories
IIS allows you to create sites, applications, and virtual directories to share information with users over the Internet or internally on an intranet such as a home network.
This concept did exist in older versions of IIS, but several changes took place in IIS 7 and changed the definition and functionality of this concept.
A virtual directory is a name that you specify in IIS and that maps to a physical directory on a server similar to how DNS maps a URL to an IP address.
The directory name becomes part of the application allowing users to navigate to a website or application and gain access to the content hosted on the server.
This content could be a website itself or media such as photos or videos within a web application or site.
In IIS 6.0, virtual directories and applications were considered to be separate objects even though they were the same thing.
An application was not a physically separate object from a virtual directory instead an app was really just a virtual directory on its own with one of the following properties in its metabase: AppFriendlyName, AppRoot, AppIsolated, and AppPoolID.
The only issue was creating a system where applications in one pool would not be allowed to communicate with applications in another pool on the same server.
In IIS 7.0 and above virtual directories and applications are separate objects and functioned in that manner.
They exist in a hierarchical relationship such as a website may contain one or more applications, an application contains one or more virtual directories, and a virtual directory maps to a physical directory on a computer.
LOG Files
Log files record various actions on your server they are typically located at:
The service name should be replaced by the service you are looking for more info on in detail.
It will show everything from the date and time something occurred to what IP address and how much data was sent both to and from your server.
If you see – in the output the data was not recorded and you may need to adjust the service if you need this information.
Ports
Typically your server will use port 80 for HTTP traffic however this can be adjusted to meet your needs or the needs of another application on your computer.
You can find a full list of ports and the purpose they each serve here. Changing a port within IIS 7 to 10 is simple. First Open Internet Information Services Manager.
Second select the Web site that you want to change and n the Action pane, select Bindings.
Third click Add to add a new site binding, or click Edit to modify an existing binding and finally click ok to apply the changes.
Настройка IIS 7.0 для Windows Communication Foundation Configuring Internet Information Services 7.0 for Windows Communication Foundation
Службы IIS 7.0 имеют модульную архитектуру, что позволяет выборочно устанавливать необходимые компоненты. Internet Information Services (IIS) 7.0 has a modular design that allows you to selectively install components that are required. Эта схема основана на новой технологии, управляемой манифестом, которая появилась в Windows Vista. This design is based on the new manifest-driven componentization technology introduced in Windows Vista. Существует более 40 отдельных компонентов служб IIS 7,0, которые могут быть установлены независимо. There are more than 40 standalone feature components of IIS 7.0 that can be installed independently. Это позволяет ИТ-специалистам легко настраивать службы в соответствии с конкретными требованиями. This allows IT professionals to easily customize the installation as required. В этом разделе описано, как настроить IIS 7,0 для использования с Windows Communication Foundation (WCF) и определить, какие компоненты требуются. This topic discusses how to configure IIS 7.0 for use with Windows Communication Foundation (WCF) and determine which components are required.
Минимальная установка: установка службы WAS Minimal Installation: Installing WAS
Минимальная установка всего пакета IIS 7,0 заключается в установке службы активации процессов Windows (WAS). The minimal installation of the whole IIS 7.0 package is to install the Windows Process Activation Service (WAS). WAS — это автономная функция, которая является единственной функцией IIS 7,0, доступной для всех операционных систем Windows Vista (Домашняя базовая, Домашняя расширенная, Business, максимальная и корпоративная). WAS is a standalone feature and it is the only feature from the IIS 7.0 that is available for all Windows Vista operating systems (Home Basic, Home Premium, Business, and Ultimate and Enterprise).
На панели управления щелкните программы , а затем — Включение или отключение компонентов Windows , которые перечислены в разделе программы и компоненты, компонент WAS показан в списке, как показано на следующем рисунке. From the Control Panel, click Programs and then click Turn Windows features on or off which is listed under Programs and Features, the WAS component is shown in the list as in the following illustration.
Этот компонент включает следующие подкомпоненты: This feature has the following sub-components:
Среда .NET .NET Environment
API-интерфейсы конфигурации Configuration APIs
Модель процесса Process Model
Если выбран корневой узел WAS, по умолчанию проверяется только вложенный узел модели процесса . If you select the root node of WAS, only the Process Model sub-node is checked by default. Обратите внимание, что при такой установке устанавливается только служба WAS, поскольку поддержка веб-сервера отсутствует. Please note that with this installation you are only installing WAS, because there is no support for a Web server.
Чтобы сделать WCF или любое приложение ASP.NET работать, установите флажок среда .NET . To make WCF or any ASP.NET application work, check the .NET Environment checkbox. Это означает, что все компоненты WAS необходимы для того, чтобы обеспечить хорошую работу WCF и ASP.NET. This means that all of WAS components are required to make WCF and ASP.NET to work well. Они автоматически выбираются при установке какого либо из этих компонентов. These are automatically checked once you install any of those components.
Службы IIS 7.0: установка по умолчанию IIS 7.0: Default Installation
После проверки функции службы IIS некоторые из подузлов автоматически проверяются, как показано на следующем рисунке. By checking the Internet Information Services feature, some of the sub-nodes are automatically checked as shown in the following illustration.
A flexible & easy-to-manage web server.
Internet Information Services (IIS) for Windows® Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS’s scalable and open architecture is ready to handle the most demanding tasks.
Recent Blog Posts
How to use the IIS Insider docker tag
Monday February 3, 2020 by JeongHwan
I’d like to explain the basic usage of the microsoft-windows-servercore-iis-insider docker tag so that you can use it easily.In addition, I want to introduce a new feature, which is currently avail.
IIS URL Rewrite — one of known issues with the rewriteBeforeCache feature
Friday January 31, 2020 by JeongHwan
I ran into IIS worker process (w3wp.exe) crash issue under specific conditions:If IIS apppool is running in the Classic modeExtensionlessUrlHandler is configuredIIS Url Rewrite outbound rule is con.
IIS 8.5 SNI – Fixing SSL_ERROR_BAD_CERT_DOMAIN
Sunday June 2, 2019 by peterviola
As you probably know SSL certificates use the https protocol to encrypt communication between your web browser and the web server hosting the web site you’re visiting. You can always tell when your.
Resolving IIS WMSVC Underlying Connection Was Closed
Saturday December 8, 2018 by peterviola
IIS Manager Remote Administration is a handy tool for for a web server administrator when you have multiple servers to manage. This feature will save you the trouble of having to Remote Desktop int.
Представляем IIS Express
Сегодня разработчики создают и тестируют ASP.NET сайты и приложения, используя один из двух веб-серверов:
- ASP.NET Development Server, который является встроенным в Visual Studio
- IIS Web Server, который встроен в Windows.
Каждый обладает своими преимуществами и недостатками, многие разработчики не раз говорили нам – “Очень хотелось бы с легкостью использовать ASP.NET Development Server, но при этом иметь на борту всю мощь и возможности IIS”. Сегодня, я с радостью представляю вам бесплатную версию IIS Express, который объединяет в себе лучшие качества обоих веб-серверов и позволит еще проще разрабатывать и запускать ASP.NET сайты и приложения.
IIS Express будет работать с VS 2010 и Visual Web Developer 2010 Express, запускаться на Windows XP и выше, не требует прав администратора и внесения изменений в код приложения. Позволяет работать со всеми типами ASP.NET приложений и разрабатывать, используя всю мощь возможностей IIS 7.x.
Как обстоят дела в наше время
Прежде чем углубиться в детали IIS Express, давайте быстренько пробежимся по ASP.NET Development Server и IIS.
ASP.NET Development Server
Встроенный в Visual Studio ASP.NET Development Server (так же известен, как “Cassini”) обладает преимуществами легкого и быстро запуска. Он не слушает удаленные порты (что делает проще работу в корпоративной среде в плане безопасности), работает даже когда у вас нет прав администратора, не требует отдельной установки на машину.
Недостатком же является неполный набор возможностей веб-сервера. Например, отсутствует поддержка SSL, URL Rewriting Rules (о котором я недавно писал), собственных настроек безопасности и другие возможности IIS 7.
IIS веб-сервер
IIS — альтернативный способ для запуска и тестирования приложений с Visual Studio. Вы можете настроить в Visual Studio любой веб-проект использовать IIS, нажав правой кнопкой по проекту, зайдя в свойства и далее выбрав закладку “Web”:
Используя IIS, как сервер для разработок вы получаете все возможности веб-сервера (SSL, URL Rewrite Rules и т.п.). IIS является полноценным веб-сервером, а это значит, что вы точно видите, как будет работать ваше приложения на публичном сервере.
Но и тут присутствуют недостатки. Многие компании запрещают использовать полноценные веб-сервера на машинах разработчиков. IIS также требует прав администратора для установки и отладки проектов. Различные версии Windows поддерживают различные версии IIS, Например, если у вас Windows XP, то у вас будет стоять IIS 5.1, который не поддерживает все новые возможности IIS 7.x. Настраивая веб-проект в VS на использование IIS, вам придется доустановить недостающие компоненты и пройти дополнительные шаги настройки.
IIS Express – все лучшее
Мы работали над новой фичей IIS 7.x, которая оптимизирована для сценариев разработчиков, которую мы назвали “IIS Express”. Мы думаем, он объединяет в себе легкость использования ASP.NET Web Server и всю мощь IIS. Вот перечень особенностей:
- Он легче и прост в установке (менее 10Mb для загрузки и супер-быстрая установка)
- Не требует прав администратора для запуска/отладки приложений из Visual Studio
- Предоставляет полный набор возможностей веб-сервера, включая SSL, URL Rewrite, поддержка медиа и других IIS 7.x модулей
- Поддерживает ту же модель расширения web.config, что и IIS 7.x
- Может быть установлен рядом с IIS и ASP.NET Development Server, не конфликтует абсолютно
- Работает на Windows XP и выше, дает все преимущества IIS 7.x на всех ОС-платформах
На IIS Express (как и на ASP.NET Development Server) можно быстро запустить любой сайт из директории на диске. Не требует никаких шагов регистрации или настройки. Все это позволяет просто и со вкусом работать любому веб-разработчику.
Интеграция с VS 2010
Мы позаботились о простой интеграции IIS Express в Visual Studio 2010. Вы можете использовать его вместо ASP.NET Web Server, как веб-сервер по умолчанию для ASP.NET проектов. Как и с ASP.NET Development Server, вам не нужно регистрировать сайт или виртуальную директорию для IIS Express. Он используют ту же модель работы, что и ASP.NET Web Server сегодня, но только дает больше возможностей.
Когда я нажму F5 для запуска ASP.NET проекта, Visual Studio автоматически запустит IIS Express и будет использовать его для запуска/отладки приложений (никаких дополнительных настроек не требуется). Как и во время работы ASP.NET Web Server, IIS Express будет отображаться в трее панели задач:
Нажав правой кнопкой по иконке и выбрав “Exit” вы с легкостью выключите IIS Express. Вы также можете просмотреть список всех запущенных сайтов, а так же их месторасположение на диске и версию .NET:
Две клевых фичи:
- Запущенный “Test Site”, как и сам IIS Express, живет в директории c:\users\[username]. Что позволяет являясь не администратором использовать IIS Express, сайты и другие сценарии, которые не возможны с полной версией IIS (включая возможность запускать IIS Express, как в ограниченной по параметрам безопасности корпоративной среде так и на школьных рабочих местах с ограниченным доступом).
- Запущенный “Test Site” поддерживает HTTP и HTTPS методы доступа. IIS Express автоматически устанавливает самоподписной сертификат и включает URL ACL и SSL сертификаты для портов, так что разработчики (работающие не с правами администратора) могут использовать SSL не требуя увеличить права для дополнительной установки или конфигурирования. Это позволяет настраивать защищенные страницы прямо в приложениях (как формы входа) на SSL и тестировать во время разработки, как на реальном веб-сервере.
Набор возможностей IIS 7.x
Сегодня, IIS Express так же легко использовать, как и ASP.NET Web Server. Но, учитывая тот факт, что IIS Express основан на IIS 7x, у вас в руках оказывается полнофункциональный веб-сервер. Вы можете запускать свои приложения, как на реальном внешнем веб-сервере. В добавок к ситуациям, как с SSL, вы можете использовать такие модули, как: URL Rewrite, Media Extensions, Dynamic Compression, Advanced Logging, Custom Security и так далее.
А еще, IIS Express поддерживает классический ASP и другие типы файлов и расширения, который поддерживает IIS, все это делает его идеальным для сайтов, которые комбинируют различные технологии.