put domain instead of ip in websocket