Skip to content
Discussion options

You must be logged in to vote

Hi @carlooon! I'm Dosu and I’m helping the dokploy team.

The "Invalid Origin" error happens because Dokploy uses better-auth for authentication, which validates that incoming requests come from a trusted origin. Your subdomain dokploy.whateverdomain.tld isn't in that list yet.

The fix is through the Web Server Settings in the Dokploy dashboard:

  1. Access Dokploy via the original IP and port: http://<your-server-ip>:3000 [1]
  2. Go to Settings → Web Server (or the Web Server section in the dashboard)
  3. Set your domain to dokploy.whateverdomain.tld and enable HTTPS / Let's Encrypt as needed [2]
  4. Save — this updates the database and automatically adds the domain to Dokploy's trusted origins list [3]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by carlooon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant