Learn how to redirect to another hostname while preserving the path and parameters in Ruby on Rails
How to redirect to another host name while keeping the same path and parameters in Ruby on Rails?