Heroku provides Websocket support to the herokuapp.com domain, custom domains, and custom SSL endpoints through the experimental Heroku Labs Websockets feature.
One major caveat though is that to provision custom SSL endpoints with Websocket support, the Websockets feature should be enabled before the endpoint is provisioned. If you enable the Websockets feature for an app with an existing custom SSL endpoint, Heroku throws an error about the SSL endpoint being in use as shown in the following command line:
$ heroku labs:enable Websockets Enabling Websockets for sampleapp... failed ! Can not add Websockets feature when ssl-endpoint is in use.
The right way of working with existing SSL endpoints is to remove them first using the heroku addons:remove ssl:endpoint
command, add the Websockets support for the app and then provision the SSL endpoint back again. It goes without saying that you will need to update the DNS records for related custom domains to point to the...