开发者

URL masquerade in IIS 7+ for address bar

I have a client who has a domain: www.domain-name.com

This runs on IIS with an ASP.NET MVC 2 application. There are also custom layout pages for his own clients.

My client wants to buy another domain, say www.mybestclient-name.com.

If you browse to this domain the content should come from www.domain-name.com, but in the address bar only www.mybestclient-name.com should displayed.

There should also be no path in the URL either, i.e. /index should not be shown.

Is this possible with IIS 7.x and if yes then how?

My first guess was NO for security reasons, because I think it's 开发者_如何转开发similar to phishing. I don't like use the word "impossible" when I talk with a client ;-).


  • Bind mybestclient-name.com as CNAME to domain-name.com
  • Add entry to IIS bindings, saying any ip with header mybestclient-name.com, www.mybestclient-name.com, etc
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜