Custom Domains

You can have your tunnel on non webrelay.io domain. To do this, when creating a tunnel, specify hostname (you can also create it through the web UI):

relay connect --host local.example.com http://localhost:4000/

Once you have created your tunnel:

  1. Go to tunnels page, you should see a CNAME specified next to your tunnel name such as 872e472d.cname.webrelay.io.

  2. Using your DNS provider add a CNAME record for local.example.com and point it to 872e472d.cname.webrelay.io.

Keep in mind that since we don't have certificates for your domain, they won't match (our certificate is for *.webrelay.io). If you have a TLS key and certificate, use TLS tunnel.

Last updated