[英]IIS - How to mask a domain name to a specific page in another domain
Let say if the URL provided to users is假设提供给用户的 URL 是
http://domainA.com http://domainA.com
I need to redirect users to我需要将用户重定向到
https://domainB.com/page1.aspx https://domainB.com/page1.aspx
By having users still see https://domainA.com/page1.aspx in the address bar.通过让用户仍然在地址栏中看到https://domainA.com/page1.aspx 。
Then any links on page1.aspx must have domainA.com as domain name in URLs.那么 page1.aspx 上的任何链接都必须将 domainA.com 作为 URL 中的域名。 Users should see the links like below links on page1.aspx
用户应该在 page1.aspx 上看到类似以下链接的链接
https://domainA.com/page2.aspx https://domainA.com/page2.aspx
https://domainA.com/page3.aspx https://domainA.com/page3.aspx
page1.aspx, page2.aspx, and page3.aspx are actually hosted on https://domainB.com page1.aspx、page2.aspx 和 page3.aspx 实际上托管在https://domainB.com上
How could I achieve this?我怎么能做到这一点? URLRewrite?
URL重写? ARR?
ARR? How many rules do I need to set this?
我需要设置多少条规则?
To serve content from another domain you will need to configure IIS as a reverse proxy :要提供来自另一个域的内容,您需要将IIS 配置为反向代理:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.