Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

URL Rewrite to another domain in IIS 7

$
0
0

I have a domain www.mydomain.com which currently does not point to any resource. I have a resource in another external domainwww.externaldomain.com which cointains my site.

I would like to map all the requests to www.mydomain.com to www.externaldomain.com with the URL in the address bar always pointing to www.mydomain.com.

Examples:

www.mydomain.com -> www.externaldomain.com (address bar: www.mydomain.com)

www.mydomain.com/tools -> www.externaldomain.com/tools (address bar: www.mydomain.com/tools)

I have always used iframes or simple http redirect but in this case is not applicable if I want to keep my domain in the addresss bar. I have used URL Rewrite just to rewrite between http and https and I was wonderign whether this is possible to achieve with URL Rewrite since it is executed on server side. thanks

</div>


Viewing all articles
Browse latest Browse all 2482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>