ip used to access website different to what cloudron expects
-
Cloudron is telling me to go to my public ip (49.207.---.--) but it is not working, but when i use my routers public ip(10.247.--.-) it works, but when doing dns config, it expects my domain to be mapped to 49.207.---.--, but i have mapped it to 10.247.--.-(using A records in cloudflare), so how to solve this?
-
Looks like the default mechanism to detect the public IP is not working for you. You can change that as mentioned in https://docs.cloudron.io/networking/#ip-configuration
Do you happen to know what the detect IP is, just to maybe find out what goes wrong in the detection?
-
We detect the IP using
curl https://api.cloudron.io/api/v1/helper/public_ip
. Can you check what this returns and why this doesn't return your public IP? You can also use something like https://whatismyipaddress.com/ which should return the same value.