I have links from a Word Document inside a Kentico library to other documents. We recently created a DR site and have a copy of the database on a different server. Is there a way to set a generic link from a Word document that would go to the server that is currently in Production? We tried adding a cname in a DNS but since we didn't have a Kentico license for the cname it didn't work. ~Thanks.
Unfortunately, with any kind of files like that (txt, Word, PDF, Excel, etc.) if it includes the protocol and domain, the link is hard coded, you'd have to create a process to clean those out or re-write the urls within the documents.
If you need a development license, you can get those or generate one and they are free as long as it is for development purposes only. You might check with the partner who created your site or Kentico directly. I always give my clients access to their client portal simply for things like this.
Hi Brenden,
Thanks for the information regarding the license. I will have to test the procedure. I was just wondering if anyone else uses a generic link inside or outside Kentico that would redirect to the correct URL. For example, the first URL would go to one of the following urls depending if we were using Production or the DR site. http://intra/CMSIntra/Governance/OnboardingChecklist.aspx (This is a word doc)
http://intraProd/CMSIntra/Governance/OnboardingChecklist.aspx http://intraDR/CMSIntra/Governance/OnboardingChecklist.aspx
OK. Thanks for your help. It was worth a try.
One other note, if you truly do come upon a DR scenario, there is no reason your network folks can't put in a DNS entry pointing all "intra" requests to go to "intraDR". Its very common now for things like this to be done but it's not automatic. It would have to be a process documented in your DR scenario.
That's the procedure we are following now. The only problem is the embedded links. The only thing I think of is adding a custom field to the files that alerts us that this document has an embedded link. Part of the DR set-up would be run a report based on that field and change the document links to point to the correct server. Right now there aren't that many but who knows in the future. :-(
Please, sign in to be able to submit a new answer.