Custom Domain for TURN Server
You can configure a custom domain for your TURN server by creating a CNAME record in your DNS settings. This allows you to point your own domain or subdomain to our TURN infrastructure.
Pointing Your CNAME
You have two options when creating the CNAME record:
Global Domain – Point your CNAME to:
global.relay.metered.ca
This will automatically route traffic to the nearest available TURN server.
Region-Specific Domain – Point your CNAME to a region-specific hostname
The full list of available region-specific domains is here: TURN Server Regions Documentation
Protocol Support Matrix
When using a CNAME to connect to your TURN server, protocol support is as follows:
Protocol | Works? | Notes |
---|---|---|
TURN over TCP | ✅ Yes | Fully supported. |
TURN over UDP | ✅ Yes | Fully supported. |
TURN over TLS | ❌ No | Not supported with CNAME configuration. |
Example DNS Record
If your domain is turn.example.com
and you want to point it to the global TURN server, create the following DNS record:
Type | Name | Value |
---|---|---|
CNAME | turn.example.com | global.relay.metered.ca |
If using a region-specific server, replace global.relay.metered.ca
with the corresponding hostname from the region list.