netbird icon indicating copy to clipboard operation
netbird copied to clipboard

How to update domain name after deployment on server?

Open qpding opened this issue 1 year ago • 1 comments

Request / Question This is not exactly a problem but a question: How do I update the domain name after successful deployment on a VPS?

Background I have successfully got Netbird running on my server on Hetzner using getting-started-with-zitadel.sh with a free domain name. Everything seems to be working fine. Now I want to change to another lasting domain name of my own. What should I do to achieve this change?

Attempted solution I took a look at all the files in the folder, including dashboard.env, docker-compose.yml, management.json etc, then took a wild guess to change all the old domain names that appear in these files to the new one. However this leads to a message when I tried to visit my site: The requested redirect_uri is missing in the client configuration. If you have any questions, you may contact the administrator of the application.

qpding avatar Apr 01 '24 11:04 qpding

this issue happens for me on compose ubuntu 22.04

yunylz avatar Apr 21 '24 05:04 yunylz

Hi, I am also facing the same issue. Were you able to use the old domain again? I tried it and start getting this error-

Error: failed reading provided config file: /etc/netbird/management.json: failed fetching OIDC configuration from endpoint https://<domain>/.well-known/openid-configuration Get "https://<domain>/.well-known/openid-configuration": remote error: tls: internal error

@mlsmaycon please help here.

shauryagoel avatar Jul 15 '24 13:07 shauryagoel

Hi @qpding @shauryagoel did you ever get a resolution to this one ? I'm currently stuck with the same issue and have no path to resolution. I though that it might be my zitadel set up that was causing the issue but I have switched over to using the hosted service from zitadel.com and still have the same problem with trying to connect an authenticated peer.

cannonfodda avatar Sep 09 '24 09:09 cannonfodda