wtree Cloud

Domain at any DNS host

Point a domain from any registrar at your server and serve it over HTTPS with Let's Encrypt.

Use this for any DNS provider other than Cloudflare. For Cloudflare, see Cloudflare.

Before you start

  • A domain whose DNS you control.
  • Your server's public IPv4 address.
  • Ports 80 and 443 reachable on the server, so Let's Encrypt can validate the host.

You can create the DNS record from wtree Cloud if your host is a supported DNS provider.

Connect the domain

In your DNS panel, add an A record. Set the host name (for example api for api.example.com) and the server's IPv4 address (for example 1.2.3.4), then save.

In wtree Cloud, open the application or Compose service and go to Settings › Domains and click Add domain.

Set Host to api.example.com, Path to /, and Container port to the port your app listens on, for example 3000.

Turn HTTPS on, set Certificate provider to Let's Encrypt, and click Create.

Verify

Wait a few seconds, refresh, and open https://api.example.com. The app should load with a valid certificate.

Container port only routes Traefik to the container. It does not publish the port on the host.

Next steps

On this page