Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I need to rewrite the URL and redirect to another domain without changes the address in the address bar in iis

What I have tried:

I tried to url rewriting concept
Posted
Updated 1-Oct-19 1:16am
Comments
F-ES Sitecore 1-Oct-19 4:43am    
If this was possible don't you think everyone would be faking google, facebook, your bank etc?

1 solution

The only way to load a different site and keep the url the same is to have an iframe or to have a div where you dump the html from the other site in. In other words, you shouldn't even try to do something like this.

And to be clear, the address bar is in the browser, not in IIS like your question asks. So, if we have misunderstood, let us know.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900