Change application URL

Hi,

I have once installed owncloud into a subdir called /owncloud. Now I have migrated to nextcloud and wanted to ask how to rename the url path from myhost.nohost.me/owncloud to myhost.nohost.me/nextcloud

Not sure this actually works (maybe there are some other conf hidding somewhere), but from the command line, you can try to open /etc/nginx/conf.d/myhost.nohost.me/owncloud.conf and change the beginning :

location /owncloud {

to

location /nextcloud {

and reload nginx with service nginx reload.

If that doesn’t work, you should be able to just revert the change.

2 Likes