I have configured 2 sites in my local.
1 - Default Web Site (Application pool - DefaultAppPool) port 80*
2 - My web site (Application pool - his own application pool), my binding is site.test.local port 80, I have in my hosts file 127.0.0.1 site.test.local
If the both are running I don't have problems, "My web site" is running correctly, but if I disable Default Web Site site, the browser raise this error "503 Service Unavaialble. No server is available to handle this request"
How do I prevent that having that 503 error?
You need to put your "My web site" in the same level path of the "Default Web Site", using another App_Pool and other port.
Right click on Sites -> Add Site
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.