HTTP를 사용하는 IIS(인터넷 정보 서비스) 웹 사이트는 몇 가지 중요한 IIS 구성 요소에 의해 사용 가능 여부가 결정됩니다. WAS(Windows Process Activation Service), W3SVC(World Wide Publishing 서비스), HTTP 서비스가 모두 올바르게 실행되고 있어야 합니다. 또한 웹 사이트의 응용 프로그램에서 올바르게 실행 중인 응용 프로그램 풀을 사용할 수 있어야 합니다. 이러한 구성 요소 중 하나라도 작동하지 않으면 웹 사이트를 사용할 수 없습니다.
사이트의 응용 프로그램 경로 설정
웹 사이트에는 유효한 응용 프로그램 경로가 있어야 합니다. 응용 프로그램 경로가 잘못된 경우 사이트가 시작되지 않습니다. 웹 사이트의 유효한 응용 프로그램 경로를 설정한 다음 사이트를 다시 시작하십시오.
웹 사이트의 유효한 응용 프로그램 경로 설정
웹 사이트의 유효한 응용 프로그램 경로를 설정하려면:
권한이 상승된 명령 프롬프트 창을 엽니다. [시작]을 클릭하고 [모든 프로그램]을 가리킨 다음, [보조프로그램]을 클릭하고 [명령 프롬프트]를 마우스 오른쪽 단추로 클릭한 이후 [관리자 권한으로 실행]을 클릭합니다.
cd %Windir%\system32\inetsrv\config를 입력합니다.
notepad ApplicationHost.config를 입력합니다.
메모장에서 system.applicationHost 아래의 사이트 섹션을 검색하고 오류를 일으키는 웹 사이트를 찾습니다.
응용 프로그램 경로를 수정하거나 기본 경로를 가지도록 사이트 구성에 다음을 추가합니다.
<application path="/">
<virtualDirectory path="/" physicalPath="%SystemDrive%\inetpub\wwwroot" />
</application>
웹 사이트 다시 시작
웹 사이트를 다시 시작하려면
시작, 제어판을 차례로 클릭한 다음 관리 도구를 클릭합니다.
IIS(인터넷 정보 서비스) 관리자를 마우스 오른쪽 단추로 클릭하고 관리자 권한으로 실행을 선택합니다.
IIS 관리자 연결 창에서 컴퓨터 이름을 확장합니다.
사이트를 확장합니다.
다시 시작해야 하는 웹 사이트를 선택합니다.
작업 창에서 중지를 클릭하여 사이트를 중지합니다.
작업 창에서 시작을 클릭하여 사이트를 시작합니다.
아래 링크를 사용하여 이 작업을 수행할 수도 있습니다.
웹 사이트 중지
웹 사이트 시작
Target | Microsoft.Windows.InternetInformationServices.6.2.WebSite | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.RootApplicationDefined.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.WebSite.RootApplicationDefined.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="ErrorEventRaised" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5056|5161)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>