How to generate different public URL domain for sharing the static files with externals?

Hello,

I have installed the mattermost in subdomain eg. chat.example.com. And when I generate the public URL it provides the URL from this domain.

But I don’t want to share the URL of my mattermost application with external users so how can I generate the URL from a different domain. I can set the alias of the mattermost installed domain to files.example.com but this URL should generate for all users accounts who are the members of my mattermost application.

Means on generating the public URL of files it should show the different domain instead of mattermost most installed application domain.

lfbrock prixone jesse any update here?