Use your own domain
With your own domain, the station is reached at a name you own, such as radio.example.org, with no certificate
warnings. Your DNS provider keeps the name pointing at the public address of your internet connection, and the
certificate comes from Let’s Encrypt through that provider, or you bring your own. This is the way My own domain
in Settings › Station › Ways to reach.
You need:
- a domain of your own, and an account with a DNS provider that holds it, with its token, password or key at hand;
- an active license or trial, as the station learns its public address from the WRC Cloud Service;
- for use from the internet, your router forwarding the public port to the station (see Use the station from the internet).
Choose My own domain
In Settings › Station › Ways to reach, choose Change to this… on My own domain. In the guided setup, choose it on the Address step instead. Its form opens. Once your domain is the way in use, the form stays under Station addresses.
Give the name
Under The name:
- In Domain, type the full name browsers open, such as
radio.example.org. - In Kept current by, choose your DNS provider. For a name that points at an address that never changes, choose Nothing (a fixed address), and type the Address.
- Fill in the fields of the provider that appear (see The DNS providers).
Tokens, passwords and keys are kept encrypted on the station and never shown again. A secret field left empty says Saved. Leave empty to keep it., and keeps the one you gave before.
Choose the certificate
Under The certificate, in How to get the certificate, choose:
- Let’s Encrypt, through my DNS provider: the station proves that the domain is yours with a DNS record that it writes and removes, so no port needs to be opened for it. Under DNS provider, choose the provider that writes the record. It is the provider that keeps the name current, if that one can, or another with fields of its own.
- One I bring: a certificate you get elsewhere, with its chain and its private key, as PEM files or one ZIP file. You renew it yourself. The station warns you 30 days before it ends.
Save
Choose Save. The station checks the provider in the background (see The provider check).
Get the certificate
For Let’s Encrypt, choose Get the certificate, and give your password again. The station gets it in the background, and renews it by itself a month before it ends. For a certificate you bring, choose Choose files… under One I bring, pick the files, and give your password again (see Bring your own certificate).
Once the provider has published the address, The name says ‹domain› points at ‹address›, the public address of this station. The station updates the name through the provider whenever its public address changes.
https://radio.example.org opens the login
of Web Radio Control with no warning.The DNS providers
Some providers keep the name current and also write the record that proves the domain is yours for the certificate. Others only keep the name current. With one of those, choose another provider for the certificate record, or bring the certificate.
| Provider | Writes the certificate record | Its fields |
|---|---|---|
| Cloudflare | Yes | API token, a token with Zone › DNS › Edit for the zone. Zone token, optional: a token with Zone › Zone › Read for every zone, when the API token is limited to one zone. |
| deSEC | Yes | Token of the deSEC account. |
| Hetzner DNS | Yes | API token of the DNS Console, under API tokens. |
| Amazon Route 53 | Yes | Access key ID and Secret access key of an IAM user that may change the records of the hosted zone. Region, us-east-1 unless you give another. Hosted zone ID, found from the name unless you give it. |
| RFC 2136 dynamic update (BIND, Knot, PowerDNS) | Yes | Server, the address of the primary name server, with its port if not 53. TSIG key name, TSIG algorithm (hmac-sha256 unless you give another) and TSIG secret, in base64. |
| DuckDNS | Yes | Token of the account, from the DuckDNS page. |
| No-IP | No | Username and Password. |
| dy.fi | No | Email address and Password. |
| Dyn | No | Username and Updater client key. |
| Dynu | No | Username and Password. |
| FreeDNS (afraid.org) | No | Update token, the token of the update address of the record. |
| Another service’s update address | No | Update address, the address to request, with {{.Domain}}, {{.IPv4Address}} and {{.IPv6Address}} where they go. Optional: Username, Password, Answer for a changed address and Answer for an unchanged address. |
The station asks the WRC Cloud Service for its public address every minute while the name is kept current. The service answers with the address the signed request of the station came from.
The provider check
After each save that uses a provider, the station checks it in the background, as it tests a device. It writes a test record under the name, reads it back from the name servers of the domain, and removes it. For a provider that only keeps the name current, it publishes the address of the station.
- Checking the provider… while the check runs.
- The provider check passed. The provider works for the station.
- The provider check failed: with the reason the provider gave, such as a wrong token or key. Correct the field, and choose Save again.
Saving never waits for the check. A name at a fixed address with a certificate you bring uses no provider, and nothing is checked.
On your own network
On the local network of the station, browsers reach your domain only if your router sends the connection back inside (NAT loopback). If yours doesn’t, use the address of the station on its network there, with the station certificate (see Install the station certificate).
If something went wrong
- The provider check failed. The provider gives the reason. Check the token or key, and what it allows. A Cloudflare token needs Zone › DNS › Edit for the zone.
- The name doesn’t point at the station. Keeping the name current needs an active license or trial. Check that Kept current by names your provider, and that its check passed.
- Let’s Encrypt refuses the certificate for now. The station keeps the certificate it has, and tries again at its daily check. Settings › Station › Certificates says why (see Certificates).
- The domain opens from the internet, but not at home. Your router doesn’t send the connection back inside. Use the address of the station on its network at home.
- Nothing answers from the internet. Your router may not forward the public port to the station. See From the internet.