Reputation: 11
I want to Redirect the old domain to new domain and without having different resources for each is it possible to use the same resource in IIS for both domains? Any suggestions please let me know
Upvotes: 1
Views: 841
Reputation: 24478
IF I understand you correctly you want www.old.com to go to www.new.com. You should be able to put this in your web.config
file of the old site.
<system.webServer>
<httpRedirect enabled=”true” destination=”http://www.my-new-site.com” httpResponseStatus=”Permanent” />
</system.webServer>
You can manually do it in IIS. Here are some steps.
Upvotes: 1