All pages

Infrastructure

Domains

Available

A domain is a public address, such as app.example.com, that leads to one of your web services.

Adding a domain

  1. 1

    Enter the domain

    On Domains, choose Add Domain, pick a web service and enter the address, such as app.example.com. The service should be deployed first, so that RunOne knows which server it is on.

  2. 2

    Create two DNS records

    The page shows both. A TXT record, _runone.app.example.com, proves the name is yours. An A record points the name at the service's server.

  3. 3

    Check

    Choose Check DNS once the records exist. DNS changes can take a few minutes to be visible.

  4. 4

    Wait for the certificate

    The server's proxy starts routing the name and obtains a certificate from Let's Encrypt. RunOne then tries the address over HTTPS itself, and marks it Active when it answers.

Domain status

StatusMeaningWhat to do
Waiting for DNS recordWaiting for the TXT record.Create it, then Check DNS.
Ownership provedThe name is proven. Waiting for the server to route it.Nothing. Make sure the service is deployed.
Issuing certificateThe server is routing the name and getting a certificate.Make sure the A record points at the server and ports 80 and 443 are open.
ActiveServing over HTTPS.Nothing.
Certificate expiredThe certificate stopped being valid. The server is asked for a new one.Check the A record and port 80.
FailedSomething needs your attention. The page says what.Fix it, then Check again.

Behind a CDN

If a CDN such as Cloudflare sits in front and talks plain HTTP to your server, leave Redirect HTTP to HTTPS off in the service's settings, or requests will loop. If the CDN proxies the name, Let's Encrypt cannot reach the server on port 80 through it unless the CDN passes /.well-known/acme-challenge/ through; the simplest set-up is to switch the CDN's proxy off for the name until the domain is Active.

Renewal

The proxy renews certificates by itself. RunOne keeps trying every active domain over HTTPS, and tells you through your notification channels if a certificate stops being good.