When uploading files in the File manager and using a specific domain to generate links to those files used in webpages, there is no easy way to replace those links in pages if we decide to use another domain down the line.
The only option currently is to manually go into each page and edit the direct links to those files.