Dokploy has two separate kinds of domain: the panel domain (by default https://37-114-51-188.astrolnodes.app) and the domains of the applications you deploy. Both are set from the panel itself and Dokploy requests the HTTPS certificates for you.
1. Point the domain to your VPS
In your domain's DNS panel, create an A record for each name you will use (for example panel for Dokploy and app or www for your applications), with your VPS IP as the value. If any of them had an AAAA record that does not point to your VPS, delete it.
Important: if you use Cloudflare, keep the records as DNS only (grey cloud) at least until the certificates have been issued.
You can check that it already points there from your VPS, over SSH as root: getent ahostsv4 panel.yourcompany.com should return its IP.
2. Domain for the panel
- In Dokploy, open Settings → Web Server → Domain.
- Enter your domain, choose the Let's Encrypt certificate, enable HTTPS and save.
- From now on, use
https://panel.yourcompany.com.
The Open Dokploy button in your client panel will keep pointing to the astrolnodes.app address; bookmark the new one.
3. Domain for your applications
- Open the application and go to the Domains tab.
- Add the domain, enter the internal port your application listens on and choose Let's Encrypt.
- Redeploy if Dokploy asks you to.
If you get a 502 error when opening it, the most common cause is that the internal port you entered is not the one your application uses. More detail in the Dokploy domains guide.
If you see a certificate warning
- Check the A record and that no old AAAA record is left.
- Check that ports 80 and 443 are still open with
ufw status. - Look at the Dokploy proxy log:
docker logs --tail 60 dokploy-traefik.
Getting tangled up with the records? Open a ticket with your domain and your VPS IP and we will give you the exact values.
Related
- What your application's astrolnodes.app address is
- Getting started with your Dokploy VPS
- Common Dokploy issues
Order: Dokploy VPS in Frankfurt · in Miami
Was this article helpful?
Need more help?
Open a ticket and the support team goes through it with you.