How to force usage of DNS name instead of IP in ownCloud

Sometimes when sharing a link in owncloud, especially on the mobile and desktop clients, the links are using the IP address instead of the DNS name.

This behavior can be changed by using the overwritehost parameter in the config.php file included inside /var/www/owncloud/config folder.

So, for example, if you are using the DNS name cloud.storage.com, then you should add the parameter as follows:

‘overwritehost => ‘cloud.storage.com,

Source: https://github.com/owncloud/core/issues/11873

About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Cloud, Uncategorized and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s