Intranet Link to document that works for both Production and DR

Sherri Guthrie asked on January 6, 2015 23:07

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.

Correct Answer

Brenden Kehren answered on January 8, 2015 14:41

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.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on January 7, 2015 01:13

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.

0 votesVote for this answer Mark as a Correct answer

Sherri Guthrie answered on January 7, 2015 15:38

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

0 votesVote for this answer Mark as a Correct answer

Sherri Guthrie answered on January 8, 2015 14:47

OK. Thanks for your help. It was worth a try.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 10, 2015 08:26

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.

0 votesVote for this answer Mark as a Correct answer

Sherri Guthrie answered on January 12, 2015 16:13

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. :-(

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.