Share link in a owncloud

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release:

Steps to reproduce
1. Select a File
2. Mark in "Share Link"

Expected behaviour
I need to change the "local address"( for other one. How can i change this?

Actual behaviour

Server configuration
Operating system: Centos 6.8
Web server: Apache
Database: Mysql
PHP version:
ownCloud version (see ownCloud admin page):
Updated from an older ownCloud or fresh install:
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
paste the results here.

The share links are generated depending on the URL you're using to access your ownCloud instance. However you might be able to change this behavior with one of these config.php parameters: