# Make Kibana accessible from a path of an existing domain

**URL:** <https://discuss.elastic.co/t/make-kibana-accessible-from-a-path-of-an-existing-domain/285241>\
**Category:** Kibana\
**Created:** [September 27, 2021, 2:36pm UTC](https://discuss.elastic.co/t/make-kibana-accessible-from-a-path-of-an-existing-domain/285241 "2021-09-27T14:36:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satkay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/satkay/32/95105_2.png) [@Satkay](https://discuss.elastic.co/u/Satkay)\
**Post date:** [September 27, 2021, 2:36pm UTC](https://discuss.elastic.co/t/make-kibana-accessible-from-a-path-of-an-existing-domain/285241/1 "2021-09-27T14:36:56Z")

</div>

Hi Forum,  
I'm trying to deploy Elastic in Google cloud using ECK and need to expose Kibana UI via Istio Gateway.

Something like this. [test.com/kibana](http://test.com/kibana) --\> Should go to Kibana  
[test.com/elastic](http://test.com/elastic) --\> Should go to elastic.

I'm able to achieve elastic but Kibana UI doesn't works.

Can please check if you can guide me for configurations required in Kibana to get this working ?

We are trying for something like this. Have tried but its not working.

> **[cloud-on-k8s/config/recipes/gclb at master · elastic/cloud-on-k8s](https://github.com/elastic/cloud-on-k8s/tree/master/config/recipes/gclb)**
>
> master/config/recipes/gclb

" In the above example, Kibana is accessed through a dedicated domain ([https://kibana.hulk](https://kibana.hulk)). If you want to make Kibana accessible from a path of an existing domain (e.g. [https://elastic.stack/kibana](https://elastic.stack/kibana)) extra configuration is required. "

---

<div class="post-metadata">

**Author:** ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)\
**Post date:** [October 1, 2021, 10:23am UTC](https://discuss.elastic.co/t/make-kibana-accessible-from-a-path-of-an-existing-domain/285241/2 "2021-10-01T10:23:14Z")

</div>

Hi, most likely the issue is that you need to specify basePath in kibana configuration: [Configure Kibana | Kibana Guide [8.11] | Elastic](https://www.elastic.co/guide/en/kibana/current/settings.html)

> server.basePath  
> Enables you to specify a path to mount Kibana at if you are running behind a proxy. Use the [`server.rewriteBasePath`](https://www.elastic.co/guide/en/kibana/current/settings.html#server-rewriteBasePath) setting to tell Kibana if it should remove the basePath from requests it receives, and to prevent a deprecation warning at startup. This setting cannot end in a slash ( `/` ).

---

<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:** [October 29, 2021, 10:23am UTC](https://discuss.elastic.co/t/make-kibana-accessible-from-a-path-of-an-existing-domain/285241/3 "2021-10-29T10:23:49Z")

</div>

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