According to the answers here: Is it possible to seamlessly redirect websockets? You can do a redirect, but there is no guarantee that the client will follow it. I know that the thread is about nodejs implementation, but the specification of Websocket, that is mentioned is the same, no matter the server's language implementation.