1
Need to change base URL due to host being renamed
Problem reported by Robert Drake - 2/6/2025 at 1:08 PM
Resolved
Hi. I have a FileVista server that was renamed and moved to a different domain. However, the base URL when accessing FileVista still refers to the old name & domain. How can I change this? I tried setting the "Default Web Site"'s hostname via "Edit Bindings" in IIS but that didn't work.

Thank you in advance!

4 Replies

Reply to Thread
0
Cem Alacayir Replied
Employee Post
Do you mean when you generate public links in FileVista, they still refer to the old domain?
Go to administration panel and open "Application Settings". See the "Override base url" setting, if it's checked, uncheck it and FileVista will use the current domain that is in the address bar when generating public links.

0
Robert Drake Replied
No. I tried that as well, unsuccessfully. If I visit the FileVista server via http://10.25.82.67, the page loads with the old hostname & domain name in place of the IP. We’ve corrected the reverse IP entry in DNS so I don’t know what else there is to check?
0
Cem Alacayir Replied
Employee Post Marked As Resolution
Well in that case, looks like there is redirection. In IIS Manager, when you click FileVista WebApp node, check if you see "URL Rewrite" icon on the right pane, if so click that to disable rewrite rules. These rules are saved in Web.config file, you can also delete, change them from there:

<system.webServer>
    <rewrite>
    
      <rule name="OldUrl" stopProcessing="true">
        <match url=".*" />
        <conditions>
          <add input="{OldUrlMap:{REQUEST_URI}}" pattern="(.+)" />
        </conditions>
        <action type="Redirect" url="{C:1}" appendQueryString="false" redirectType="Permanent" />
      </rule>
      
    </rewrite>
</system.webServer>    
0
Robert Drake Replied
Thank you! Checking all of the HTTP Redirects helped resolve the issue.

Reply to Thread