简体   繁体   中英

IIS backup physical path

I am new to IIS and currently doing a lab on company.

So I have 2 volumes, each stored the same html files that use to display the IIS web.

Is there a way to set my physical path to point up to both of their directory? Just in case if one volume down, the other still up and keep the web alive?

If no then is there anyway for me to achieve this?

I'm afraid it is impossible to do failover between two different physical paths in IIS.

If you have multiple servers. You could build ARR load balancer and specify the path that you want to do failover. Then if one server break down, ARR will mark it as unhealthy due to health test and request will be routed to another server with different path.

https://docs.microsoft.com/en-us/iis/extensions/configuring-application-request-routing-arr/http-load-balancing-using-application-request-routing

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM