D
Dokploy5mo ago
leggero

add custom domain

How can i record domain form namecheap on my project
28 Replies
Henrik
Henrik5mo ago
I have not used namecheap, but is there a setting there to set something called A Record?
leggero
leggeroOP5mo ago
Yes
leggero
leggeroOP5mo ago
No description
Henrik
Henrik5mo ago
Nice. It says TXT record there, but I'm assuming you can add an A record. The A record should be the IP of your Dokploy instance
leggero
leggeroOP5mo ago
IP adress on servers on tab settings menu right
Henrik
Henrik5mo ago
Another approach I would recommend is using Cloudflare DNS. It's free, and Dokploy has a guide for it. Create/log in on Cloudflare. Add a your domain that you have registered on namecheap. Somewhere on the page you will see name server. Register those on namecheap, you see them at them bottom of your picture. After that, follow this guide
Cloudflare | Dokploy
This guide will cover how to configure a Cloudflare domain for your applications in dokploy or panel.
Henrik
Henrik5mo ago
Either way you try to do it, remember that registering the A record don't work instantly. It starts a process where the A record has to propagate to other DNS servers around the world. Usually it goes quite fast, but it can take hours in the worst case
leggero
leggeroOP5mo ago
Right
leggero
leggeroOP5mo ago
Henrik
Henrik5mo ago
I have not played around with multiserver setup, which you try to do now, so I'm not sure if that routing is going to work. Maybe This is pure speculation, but I think all network traffic has to go through the main Dokploy instance, where it then gets rerouted to different servers
leggero
leggeroOP5mo ago
Oh thank you i will wait for it a little bit to see if it worls
leggero
leggeroOP5mo ago
No description
leggero
leggeroOP5mo ago
Maybe something wrong
Henrik
Henrik5mo ago
On the Dokploy dashboard, go to Settings->Server. Is the IP showing at the bottom the same as the one you registered on your A record?
leggero
leggeroOP5mo ago
Yes It is the same Do I have to add the same port?
leggero
leggeroOP5mo ago
No description
leggero
leggeroOP5mo ago
No description
leggero
leggeroOP5mo ago
On the server dashboard
Henrik
Henrik5mo ago
That port is for SSH connection. Web traffic from the outside world goes to 80 and 443. It then goes to Traefik to the port of the container. You only have one server right?
leggero
leggeroOP5mo ago
Yes I have only one
Henrik
Henrik5mo ago
Aaaah. You don't need anything on the servers tab then. I guess that can confuse Traefik routing
Henrik
Henrik5mo ago
I also just use one VM and this is my Servers page
No description
Henrik
Henrik5mo ago
That page is used for when you have more than one server and want to controll them all from the Dokploy dashboard
leggero
leggeroOP5mo ago
I know it I did create the server and use IP adrress to record via name cheap Record on DNS tab at namecheap dashboard
Henrik
Henrik5mo ago
Are you launching a template?
leggero
leggeroOP5mo ago
Yes Wordpress
Henrik
Henrik5mo ago
It can still be that the record hasn't propagated yet, but I still think adding the same machine Dokploy is running on as a server can cause some routing issues.
leggero
leggeroOP5mo ago
I think now I have to delete and deploy it again 404 page not found

Did you find this page helpful?