IIS
[IIS] Default WebSite를 삭제해버렸을 때!
김뽀씨
2014. 11. 21. 17:49
Default Web Site... 이거 별로 중요하지 않다고 느꼈는데.
일단 설치 방법은 다음과 같다. [출처 : http://girdharbisht.com/girdhar/?p=396]
In IIS 7 / 7.5
- Right click on Sites folder and click Add Web Site…
- Under Site name: type “Default Web Site”
- Under Application pool: select DefaultAppPool
- Under Physical path: “C:\Inetpub\wwwroot”
- Click OK
- Fortunately for me, the “Default Web Site” was created with the ID 1.
- But just incase, if in your case the “Default Web Site” does not show ID 1 and if ID 1 is not in use.
- Open command prompt as an Administrator
- Go to C:\Windows\System32\inetsrv\config and type notepad applicationHost.config
- Find “Default Web Site” and change id=”x” to id=”1”.
- Save applicationHost.config
- Now refresh IIS Manager and start the Web Site.