Skip to Content

Add a domain

Put your own hostname in front of an app, served over HTTPS.

Most apps get a free deplo.site address when they are created. This page puts your own hostname, like app.example.com, in front of one.

Point the domain at the server

Domain on Cloudflare?

Connect its zone once under Settings -> General -> Automatic DNS and Deplo creates the record for you: skip this part. See Automatic DNS.

Find the server's public IP

It is on the server's card in Settings -> Servers.

Create an A record

At your DNS provider, point an A record for the hostname at the server, for example app.example.com -> 203.0.113.10.

If the server has IPv6, add an AAAA record too. Once the domain is added, its row prints the address, for example 2001:db8::10.

No AAAA unless the server has IPv6

An AAAA record that points anywhere but this server makes the domain misconfigured, even next to a correct A record. If the row prints no IPv6 address, create only the A record.

Add it in Deplo

Open the app's Domains tab

Click Add Domain and type the hostname, for example app.example.com.

The Domains tab of an app

Turn on HTTPS

Under HTTPS, set Certificate to Let's Encrypt. It starts on None (no certificate), which serves plain HTTP.

The Add a domain dialog with the DNS check

Confirm, and wait for DNS

Click Add domain. Deplo checks the DNS right away and keeps checking until it points here.

Set it as primary

Click the star on the domain's row to make it the app's main address. The star stays disabled while the domain is misconfigured.

No domain yet?

In the Add Domain dialog, Generate fills in a new free deplo.site hostname.

Good to know

  • Port 80 must be open, even for a site served on 443: Let's Encrypt checks over it.
  • Every domain option, like redirects and path routing, is in Domains and HTTPS.

Something wrong? See Domains and TLS.

Next steps

Did this page help you?

On this page