-
I have a NS instance in GCloud set up a few years ago via navid200's instructions, all scripts & NS are up-to-date and running fine. Question: I would like to change my freedns subdomain/hostname. How can I do this e.g. via the "script menu" or by editing a config file? See below, currently my old freedns hostname is somehow registered in the scripts, it's shown on the status page. When I open the url in my browser, I get no errors, Let's Encrypt certificate is valid (for this old subdomain!). I already registered a new subdomain @freedns.afraid.ord and I can open it in my browser, it redirects successfully to my GCloud NS-instance. However, obviously the certificate is not valid and the connection is insecure because the NS-configuration is still using the old hostname. Strangely, the browser tells me the certificate is from nightscoutXXXX.ddns.net (see below) -- this is actually my old subdomain from no-ip.com, which I used initially but this was years ago?!! How can I fix these issues? I have searched all menu items but cannot find an option where to enter a new hostname. My freedns username/pwd have not changed, I only want to switch to a new subdomain. Would it even be possible to register two or three different subdomains instead of only one? My issue is, that my old subdomain is now blocked by my VPN provider (they refuse to remove it from their blacklist), therefore I would like to have one or two freedns backup-domains ready in-place in case this happens again. Thanks for helping out! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It takes a while for an existing certificate to expire. You can easily switch from one hostname to another:
When you run phase 2, it asks you for the user ID and password of your FreeDNS account. You have to enter the correct values. I mean if you have multiple FreeDNS accounts, you need to enter the credentials for the account with the new subdomain. This explains how to change a hostname: https://navid200.github.io/xDrip/docs/Nightscout/ChangeHostname.html |
Beta Was this translation helpful? Give feedback.
It takes a while for an existing certificate to expire.
You can easily switch from one hostname to another:
When you run phase 2, it asks you for the user ID and password of your FreeDNS account. You have to enter the correct values. I mean if you have multiple FreeDNS accounts, you need to enter the credentials for the account with the new subdomain.
After you complete phase 2, the menu you are showing will show the new hostname and password. The fact that it is still showing the old values means you have never successfully run phase 2 since. Restarting the server after completing phase 2 is a part o…