deployz.dev. Your software provider can also give it an address on your own domain, for example app.example.com. For that, you create two DNS records at your DNS provider.
The two addresses reach your application differently:
- Traffic to the
deployz.devaddress passes through the Deployz Cloudflare network, where HTTPS ends. Cloudflare then connects to the load balancer in your AWS account over HTTPS. - Traffic to a custom domain goes directly to the load balancer in your AWS account. It doesn’t pass through Deployz.
The default address and a custom domain both reach the load balancer in your AWS account.
Before you start
- Your software provider has added the custom domain. Until they do, the Custom domain card on the install page says No custom domain yet.
- You can edit DNS records for the domain at your DNS provider.
Create the records
Who: you, on the install page and at your DNS provider.1
Open the install page
Open the install page for your deployment. The Custom domain card appears once the application is being checked or is ready. When the domain needs records, its status is Waiting for DNS.
2
Create the validation record
The Verify ownership record proves you control the domain, so AWS can issue an HTTPS certificate for it. At your DNS provider, create a record of type
CNAME with the Name and Value shown. Use Copy to avoid typing mistakes.3
Create the routing record
The Route traffic record points the domain at the application’s load balancer in your AWS account. Create a second
CNAME record with the Name and Value shown.4
Check the records
Select Check now. Deployz also checks automatically and continues once it detects the records. DNS changes can take some time to appear. Deployz runs a check at most once every 30 seconds, so selecting Check now more often shows the latest result again.
What happens next
The card’s status shows the progress:
The certificate is issued in your AWS account, and traffic to your custom domain goes directly to the load balancer in your account. It doesn’t pass through Deployz. Deployz only reads your DNS records. It doesn’t change them.
Once the domain is active, the Access section of the install page shows the custom domain as the application’s address.
If your software provider removes the domain, it stops routing to the application. Your DNS records aren’t deleted automatically. Delete them at your DNS provider when you no longer need them.
If the check does not pass
While the status is Waiting for DNS or Connecting, the card shows the latest result of the check:- Verification record not found: Deployz can’t find the validation record yet. Check that its name and value match exactly, then wait for DNS to update.
- Domain isn’t pointing to this deployment: update the routing record to the value shown.
- HTTPS isn’t reachable yet: the load balancer may still be starting, or the application may not be running. Wait, then check again.
- This deployment isn’t running: the domain setup resumes once the deployment is running again. If the install page shows Deployment failed, see If the deployment fails.
