In this episode, we tackle setting up the DNS records for our WebSocket subdomain. Now that you've got Reverb running on your server, it's time to make sure requests to your WebSocket subdomain (like ws.yoursite.com
) actually end up at the right place.
We'll walk through how to add a CNAME record for your WebSocket subdomain in your DNS provider's dashboard. This usually means setting something like ws
pointing at your main app
or root domain. Simple stuff, but very important!
We'll also talk about disabling any HTTP proxying (like Cloudflare's orange cloud) so your WebSocket connections aren't interrupted—just set this to DNS Only. Finally, we'll show how to verify everything is working by pinging your new subdomain and double-checking the IPs line up. Once this is done, your subdomain is all set to start handling WebSocket connections!