Wrong baseURL / Incorrect redirect

We set the site up using an IP for the address. I can hit that IP and pull up any file directly in the browser and it displays using the IP url. However, once any redirect happens (login, menu link, etc) the url is changing to an old website URL that is not even on the same server.
We had to add that old url to IIS for the CB site to work.

We can’t find anywhere in the database that the incorrect url is being stored. Is there somewhere that the a file got written to on set-up that hard coded this url?
Maybe due to reverse DNS?

I went to config/routes.cfm hardcoded the baseurl, clear cache and no luck.

NM - Restart of CF fixed it