본문 바로가기
IIS

[IIS] Default WebSite를 삭제해버렸을 때!

by 김뽀씨 2014. 11. 21.

Default Web Site... 이거 별로 중요하지 않다고 느꼈는데.

일단 설치 방법은 다음과 같다.  [출처 : http://girdharbisht.com/girdhar/?p=396]

 

In IIS 7 / 7.5

  1. Right click on Sites folder and click Add Web Site…
  2. Under Site name: type “Default Web Site
  3. Under Application pool: select DefaultAppPool
  4. Under Physical path: “C:\Inetpub\wwwroot
  5. Click OK

    image13

  6. Fortunately for me, the “Default Web Site” was created with the ID 1.
  7. But just incase, if in your case the “Default Web Site” does not show ID 1 and if ID 1 is not in use.
  8. Open command prompt as an Administrator
  9. Go to C:\Windows\System32\inetsrv\config and type notepad applicationHost.config
  10. Find “Default Web Site” and change id=”x” to id=”1”.
  11. Save applicationHost.config
  12. Now refresh IIS Manager and start the Web Site.