Hello,
I’m new in this area (ubuntu, server, cloud, networking), so I might be doing some obvious mistakes.
I have installed NextCloud using Snap Package and it seems to run well on http, accessible at a forwarded external port; but for https, when executing the sudo nextcloud.enable-https lets-encrypt
command, I get the following error:
Domain: example.go.ro
Type: connection
Detail: 79.112.92.173: Fetching
https://255.255.255.255:443/.well-known/acme-challenge/BTIe8laV2OiyRufh_842IhcenZ9ONo9cA0gD5MUbF0k:
Invalid host in redirect target "255.255.255.255". Only domain
names are supported, not IP addresses
Mentions:
- the ISP gave me a subdomain for dynamic DNS, which looks like
exampe.go.ro
, and for that I’ve requested the certificate; - I know https can be issued for such a domain (
.go.ro
) as I’ve seen it at a friend who installed NextCloud with the Debian script;
Also, I have noticed that if I try to open the http://exampe.go.ro
domain in the browser, I get redirected to https://255.255.255.255 . Only when opening the domain at the forwarded external port I can see NextCloud running.
What am I doing wrong?