2

I have two domains innosia.com and sorainnosia.com, the innosia.com is an old domain that I wish whoever visit it got redirect to sorainnosia.com including the POST data that they are posting to. Because currently there is an old windows application that POST data to the old domain that I cannot modify at client side, and wish the data to be POST to new domain instead only by doing changing to innosia.com without modifying client side windows application.

I find out that HTTP status 301 that redirect to another domain will not preserve the POST data. I search on google and stackoverflow but can't find any answer. My web is built using ASP.NET MVC 3.0, anyone has any solution?

Thanks

John Kenedy
  • 564
  • 1
  • 5
  • 18
  • http://stackoverflow.com/questions/46582/response-redirect-with-post-instead-of-get – adt Jan 24 '13 at 10:35

1 Answers1

1

Some HTTP clients just can't properly handle 301 redirection of their POST requests.

You could however change the old DNS record to point to the new server, or deploy a simple proxy (like Apache) on the old URL to forward the request behind the scenes to the new server.

Szocske
  • 7,466
  • 2
  • 20
  • 24