# Link to a dashboard on the same site without the domain

**URL:** <https://discuss.elastic.co/t/link-to-a-dashboard-on-the-same-site-without-the-domain/230617>\
**Category:** Kibana\
**Created:** [April 30, 2020, 6:40pm UTC](https://discuss.elastic.co/t/link-to-a-dashboard-on-the-same-site-without-the-domain/230617 "2020-04-30T18:40:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertm81](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bertm81/32/48088_2.png) [@bertm81](https://discuss.elastic.co/u/bertm81)\
**Post date:** [April 30, 2020, 6:40pm UTC](https://discuss.elastic.co/t/link-to-a-dashboard-on-the-same-site-without-the-domain/230617/1 "2020-04-30T18:40:30Z")

</div>

I am operating a live and staging system and have links within dashboards for drilldowns. The problem is, I have one domain name for live and a different for staging so when I copy the saved objects from live to staging all the internal links are wrong.

e.g.

The [www.livedomain.com](http://www.livedomain.com) domain on blue\_system and the link in dashboard A is `https://www.livedomain.com/app/kibana#/dashboard/dashboardA`

When I copy across the dashboards this is what I get

The [www.stagindomain.com](http://www.stagindomain.com) domain on green\_system and the link in dashboard A is `https://www.livedomain.com/app/kibana#/dashboard/dashboardA`

but should be

The [www.stagindomain.com](http://www.stagindomain.com) domain on green\_system and the link in dashboard A is `https://www.stagindomain.com/app/kibana#/dashboard/dashboardA`

The workaround is to manually change it in the JSON but this can lead to human error and when we promote green to be live the links would all need to be changed again.

So the question is, is there a format I can use in the URL template of the field to point to dashboardA?

---

<div class="post-metadata">

**Author:** ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)\
**Post date:** [April 30, 2020, 6:49pm UTC](https://discuss.elastic.co/t/link-to-a-dashboard-on-the-same-site-without-the-domain/230617/2 "2020-04-30T18:49:09Z")

</div>

Hello @bertm81

I recently answered a similar question.  
Hope you'll find it useful: [Kibana URL template with relative path](https://discuss.elastic.co/t/kibana-url-template-with-relative-path/228418/10)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 28, 2020, 6:49pm UTC](https://discuss.elastic.co/t/link-to-a-dashboard-on-the-same-site-without-the-domain/230617/3 "2020-05-28T18:49:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
