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
- A deployed service (running or stopped)
- Access to your domain's DNS settings
- Domain must not be already assigned to another service
Adding a Domain
- Navigate to Projects → [Your Project]
- Select the Domains tab
- Click Add Domain
- Enter your domain name (e.g.,
app.example.com) - 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:
- Cloudflare
- Namecheap
- GoDaddy
- Hetzner DNS
- AWS Route 53
- Generic (any provider)
Required Records
| Record Type | Host | Target |
|---|---|---|
| A | app.example.com | <VPS IPv4 address> |
| AAAA | app.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.
Using an A Record (Recommended)
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:
- The system checks DNS resolution every 30 seconds
- Status updates are pushed in real-time via SignalR
- A pulsing "Checking DNS..." badge shows while verification is in progress
- Status changes to Verified with a green badge once confirmed
- Verification times out after 48 hours if DNS is not configured
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:
- Change Certificate to "Custom Certificate"
- 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:
| Column | Description |
|---|---|
| Name | Service or database name |
| Type | service, postgresql, mysql, redis, etc. |
| Internal URL | hostname:port for service-to-service calls |
| Port | Internal 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
- Use internal URLs between services in the same project
- Use internal URLs in environment variables (e.g.,
DATABASE_URL,API_URL) - No SSL is needed for internal communication
- Internal hostnames are based on the deployed service name
Advanced Settings
Click Show Advanced Settings to access:
| Setting | Description | Default |
|---|---|---|
| Port Override | Target port on the container | Auto-detected from service |
| Path Prefix | Route only traffic matching this path | / |
| Certificate Type | Let's Encrypt, Wildcard, Custom, or None | Let's Encrypt |
| HTTPS Redirect | Force HTTP → HTTPS redirect | On (when SSL enabled) |
| Traefik Config | Raw 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
- Click Remove next to the domain
- Confirm the removal
- Update your DNS records to remove the old entries
Troubleshooting
| Issue | Solution |
|---|---|
| DNS verification fails | Wait for propagation (up to 48h). Check records with dig app.example.com |
| SSL certificate not issued | Ensure the domain resolves to the address shown in DNS Setup. If the certificate still does not appear, contact support |
| 502 Bad Gateway | Service might not be running. Check service status |
| Mixed content warnings | Ensure all assets use HTTPS URLs |
| Wildcard certificate not issued | Contact support for setup and DNS record guidance. Do not send API tokens |
| IPv6 not working | Ensure AAAA record is configured. Check with dig AAAA app.example.com |
| Internal URL not resolving | Use 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 |