ConvoyDocs

Custom Domains

Serve your application on your own domain with automatic TLS.

You can configure a custom domain (like app.example.com) to point to your Convoy Cloud application. Convoy Cloud handles TLS certificate provisioning automatically via Let's Encrypt.

Adding a custom domain

  1. Navigate to Domains in the sidebar.
  2. Click Add Domain.
  3. Enter your domain name (e.g., app.example.com or example.com).

Configuring DNS

After adding your domain, Convoy Cloud shows the DNS record you need to create at your DNS provider:

Subdomain (e.g., app.example.com)

Create a CNAME record:

TypeNameValue
CNAMEappingress.codeship.site

Apex domain (e.g., example.com)

Create an A record:

TypeNameValue
A@84.247.168.74

Domain verification

After configuring DNS, Convoy Cloud verifies that the domain resolves correctly. The domain goes through these statuses:

StatusMeaning
Pending VerificationDNS record not yet detected. Convoy Cloud rechecks pending domains roughly every two minutes. Refresh the Domains page to see the latest status.
VerifiedDNS is configured correctly. Ready to assign to an app.
Pending SSLTLS certificate is being provisioned.
ActiveDomain is fully configured with TLS. Traffic is being served.
ErrorSomething went wrong. Check your DNS configuration.

DNS propagation can take up to a few minutes, depending on your DNS provider. If a domain stays in Pending Verification for more than a few minutes, verify the DNS record with dig before troubleshooting further.

If verification has not succeeded within two hours, Convoy Cloud marks the domain as Error. Remove and re-add the domain to restart the process.

Assigning a domain to an application

Once a domain is verified, you can assign it to any application in your workspace:

  1. On the Domains page, find your verified domain.
  2. Click Assign to App.
  3. Select the application from the dropdown.

Your application is now accessible at both its *.codeship.site URL and your custom domain.

Removing a custom domain

To remove a custom domain:

  1. Go to Domains.
  2. Click the remove action on the domain.
  3. The TLS certificate and ingress rule are automatically cleaned up.

You should also remove the DNS record at your DNS provider.

Troubleshooting

  • Domain stuck on "Pending Verification" -- ensure your DNS record is correct and has propagated. Use dig or a DNS checker to verify.
  • Domain stuck on "Pending SSL" -- certificate provisioning can take a few minutes. If it stays in this state for more than 10 minutes, check that port 80 is not blocked for your domain (needed for ACME challenge).
  • SSL certificate errors -- Convoy Cloud uses automatically renewed TLS certificates. If you see certificate warnings, try removing and re-adding the domain.

Under the hood TLS certificates for custom domains are issued by Let's Encrypt and managed by cert-manager.