iis 7 - configure iis to redirect to domain with 200 status code -


i have old version of site on iis server. mydomain1.com binded iis server. created new version of site on node.js , want move on it. if rebind mydomain1.com new node.js server , going wrong on new version of site have rollback iis. rebinding domain slow - 4 houres. can redirect mydomain1.com mydomain2.com allready binded node.js server. don't want 301 redirect. want status code 200 , seamless redirection domain appropriate path of requests mydomain1.com. possible?

for example if have requrest url http://mydomain1.com/get/item/323 want redirect url http://mydomain2.com/get/item/323 status code 200.

you can rewrite,

http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module

or route request,

http://msdn.microsoft.com/en-us/library/cc668201(v=vs.90).aspx

redirect 30*, , that's determined http standard.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -