Skip to main content

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:

  1. Global Domain – Point your CNAME to:

    global.relay.metered.ca

    This will automatically route traffic to the nearest available TURN server.

  2. 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:

ProtocolWorks?Notes
TURN over TCP✅ YesFully supported.
TURN over UDP✅ YesFully supported.
TURN over TLS❌ NoNot 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:

TypeNameValue
CNAMEturn.example.comglobal.relay.metered.ca

If using a region-specific server, replace global.relay.metered.ca with the corresponding hostname from the region list.