Nextcloupi not reach through the domain name

Hi Everyone,

I am also a newbie in the Linux platform and trying to install the nextcloudpi on the raspberry pi 4. It almost took two days to install the software with the configurations mentioned in the different tutorials and youtube videos. It works well till yesterday but from the morning it can’t reach through the domain name. However, I can reach it from the IP address inside the home network. I try to dig into the solutions.And I think, I found the problems in the https://freedns.afraid.org/dynamic/ where when I tried to get the link from the direct URL it shows the error as “ERROR: Address [IP] has not changed”.I suspect this is the problem and I tried to delete and create 2-3 times and update in the nextcloupi but the freedns shows this error.

I am not sure there may be other reasons. I tried to google it but was unable to get any lead from this. Even I don’t understand what that means. Can somebody provide the clarifications and provide solutions for this one? I have almost wasted my one day for this simple issues even though everything works fine from the IP address.

Thanks

Hi, can you tell us your domain and the ip to can check some things by commands ? (curl, dig etc…)

nslookup rajukhadka.chickenkiller.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: rajukhadka.chickenkiller.com
Address: 192.168.0.150

dig rajukhadka.chickenkiller.com

; <<>> DiG 9.16.27-Debian <<>> rajukhadka.chickenkiller.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53685
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;rajukhadka.chickenkiller.com. IN A

;; ANSWER SECTION:
rajukhadka.chickenkiller.com. 0 IN A 192.168.0.150

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Sep 06 08:31:07 EDT 2022
;; MSG SIZE rcvd: 73

curl rajukhadka.chickenkiller.com

302 Found

Found

The document has moved here.

"

I don’t know, are you sure you have configured that DNS record correctly with a public IP?

Because the IP range of 192.168.xxx.xxx is a reserved range for private use within a home network, not public use

Reserved for private networks.

The organizations that distribute IP addresses to the world reserves a range of IP addresses for private networks.

  • 192.168.0.0 – 192.168.255.255 (65,536 IP addresses)
  • 172.16.0.0 – 172.31.255.255 (1,048,576 IP addresses)
  • 10.0.0.0 – 10.255.255.255 (16,777,216 IP addresses)

Source

You can check your public IP here

Edit: The 127.0.0.1 address is also not accessible outside the device the service/app is running on, it is a localhost address

1 Like