when I want to share a file on nextcloud (NC) with someone, I have the option to create a downloadlink: rightclick on the file, select “generate downloadlink”, and then follow the steps.
This however results in a link “http://hostname-of-server.mydomain.tld/webtop/public/…”.
And that’s not resolvable from the internet: I’d expect a URL without the hostname of the server.
Is this fixable? If so, how & where?
Because the internet does not need to know what the hostname of my server is. In the same way as the Webtop runs on the same server, and my mailaddress is not rolf@servername.mydomain.tld…
Ok but servername.mydomain.tld must be the same server as sub.mydomain.tld
Log on Webtop as admin (not admin@mydomain.tld)
At the left bar select the icon with the gear, then select “Properties (system)” in the central column.
In the right column, under “com.sonicle.webtop.core service” go to “public.url” item, then you make a double click on the link at the right of that item and change it in http://servername.mydomain.tld/webtop or https://servername.mydomain.tld/webtop if you have the 443 port exposed.
OK, did as instructed.
The generated URL is now correct (made it https while I was at it), and the file can be downloaded from the internet by clicking the link.
No drawbacks noticed (so far…?)
Thanks for your help!