Can I configure a different Share URL?
For example the Nextcloud is installed on cloud1.cloud and if you share something it will be shared over the domain cloud2.cloud.
Unfortunately you’ve not provided any information about your environment to better understand what you’re looking for. An “Share Renamer” app exists to rename a share, but if you want to have a shared file listed outside a users root view, you can set a general parameter in the Nextcloud configuration to implement that.