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. https://192.168.111.2/cloud… instead of the external hostname remote.********.de/cloud).
i tried to edit the config.php File "overwritehost’ => 'remote..de’ but this doesn’t work. i can’t modify the windows host file or the local dns server / loopback because other programms need the remote..de entry for another ip.

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

Hey

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

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

That worked for me :slight_smile:

1 Like