Internal - External Shared Link Problem

Nextcloud version: 11.0.1
Operating system and version: Ubuntu 16.04

hi there,

i have a problem with sharing links, if i access nextcloud from internal hostname / ip and i generate a sharing link the link appears with the local ip (e.g.… instead of the external hostname remote.********.de/cloud).
i tried to edit the config.php File "overwritehost’ => '’ but this doesn’t work. i can’t modify the windows host file or the local dns server / loopback because other programms need the entry for another ip.

is there any other opportunity to solve this problem? please help.


In the file config/config.php Add ‘overwritehost’ => ‘’,

With out the https:// / http://

That worked for me :slight_smile:

1 Like