Rails on Heroku and node.js on linode?
I'm creating an app that uses Rails to serve webpages and node.js/socket.io to facilitate real-time communication. While Heroku can run node.js it can't run websockets, thus I'm going to place the node.js app on linode and the rails app on Heroku.
In terms of DNS and cross domain issues how would I do this? For instance can I create an A Name record that points 'domainname.com/websockets' => linode and 'domainname.com' => heroku?
The WebSockets security model is not based on same-origin policy. This means that you should not have any cross-origin issues when using WebSockets.