Custom Domains

Add your own domain to any service deployed on DeployifyNow. SSL certificates are provisioned automatically via Let's Encrypt through Traefik. HTTP-to-HTTPS redirects are enabled by default.

Preparing DNS values first? Use the anonymous DNS record worksheet to check A, AAAA or CNAME syntax locally. It does not look up or install records; use the actual targets from DNS Setup below.

Running Docker Compose on a server you manage instead? The guide to deploying a Docker Compose app to a VPS with HTTPS covers DNS, firewall rules and a reverse proxy for that setup.

Prerequisites

Adding a Domain

  1. Navigate to Projects → [Your Project]
  2. Select the Domains tab
  3. Click Add Domain
  4. Enter your domain name (e.g., app.example.com)
  5. Click Add Domain

The system will display DNS configuration instructions with provider-specific guides.

DNS Configuration

After adding a domain, click DNS Setup to get step-by-step instructions for your DNS provider. Supported providers:

Required Records

Record TypeHostTarget
Aapp.example.com<VPS IPv4 address>
AAAAapp.example.com<VPS IPv6 address> (when available)
TXT_deployifynow.app<verification token>

IPv6 Support

When your VPS has an IPv6 address (Hetzner assigns one by default), the DNS instructions include both A (IPv4) and AAAA (IPv6) records. Configuring both provides dual-stack connectivity.

Point your domain directly to the VPS IP address:

Type: A
Host: app (or @ for root domain)
Value: <shown in the UI after adding>
TTL: 300

Using a CNAME Record

For a subdomain, use a CNAME when your service's DNS setup supports a hostname target. Copy the actual generated hostname shown for your project or service, and follow DNS Setup if it specifies a different target. Do not derive the hostname from the DeployifyNow website address.

Type: CNAME
Host: app
Value: <generated project or service hostname>
TTL: 300

Domain Verification

Domain verification happens automatically. After configuring DNS records:

You can also click Re-check DNS to trigger an immediate verification.

DNS propagation can take up to 48 hours, but typically completes within 5-30 minutes.

SSL Certificates

By default, Let's Encrypt certificates are provisioned automatically when a domain is added. HTTP-to-HTTPS redirect is enabled by default.

HTTPS Redirect

All domains with SSL enabled automatically redirect HTTP traffic to HTTPS. This can be toggled off in the domain settings if needed.

Custom Certificates

For custom TLS certificates, expand Advanced Settings:

  1. Change Certificate to "Custom Certificate"
  2. Provide the certificate and key via Traefik configuration

Wildcard Domains

Wildcard domains (*.example.com) can route subdomains to a single service. The current Add Domain dialog accepts individual hostnames, not wildcard names. Contact support to confirm wildcard availability and the DNS records needed for your service. Do not send DNS provider API tokens to support.

Internal Service Networking

Services deployed within the same project can communicate directly using internal hostnames.

Viewing Internal Endpoints

Navigate to Projects → [Your Project] to see the Internal Service Networking panel. This shows:

ColumnDescription
NameService or database name
Typeservice, postgresql, mysql, redis, etc.
Internal URLhostname:port for service-to-service calls
PortInternal port number

Usage Examples

# From one service, call another service in the same project
curl http://my-api:8080/health

# Connect to a managed PostgreSQL database
postgresql://db-user:password@my-postgres:5432/mydb

Important Notes

Advanced Settings

Click Show Advanced Settings to access:

SettingDescriptionDefault
Port OverrideTarget port on the containerAuto-detected from service
Path PrefixRoute only traffic matching this path/
Certificate TypeLet's Encrypt, Wildcard, Custom, or NoneLet's Encrypt
HTTPS RedirectForce HTTP → HTTPS redirectOn (when SSL enabled)
Traefik ConfigRaw Traefik label JSON for full control—

Port Handling

By default, the domain port is automatically resolved from your service's internal port. You only need to set a port override if the domain should route to a different port than the service's configured internal port.

Traefik Config Example

{
  "middlewares": {
    "rateLimit": {
      "average": 100,
      "burst": 50
    }
  }
}

Removing a Domain

  1. Click Remove next to the domain
  2. Confirm the removal
  3. Update your DNS records to remove the old entries

Troubleshooting

IssueSolution
DNS verification failsWait for propagation (up to 48h). Check records with dig app.example.com
SSL certificate not issuedEnsure the domain resolves to the address shown in DNS Setup. If the certificate still does not appear, contact support
502 Bad GatewayService might not be running. Check service status
Mixed content warningsEnsure all assets use HTTPS URLs
Wildcard certificate not issuedContact support for setup and DNS record guidance. Do not send API tokens
IPv6 not workingEnsure AAAA record is configured. Check with dig AAAA app.example.com
Internal URL not resolvingUse the hostname and port shown in the project's Internal Service Networking panel. Confirm the target service is running in that project, then contact support if it still fails