# Elasticsearch/Kibana Unknown Deployment

**URL:** <https://discuss.elastic.co/t/elasticsearch-kibana-unknown-deployment/180697>\
**Category:** Elasticsearch\
**Created:** [May 12, 2019, 2:55pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-unknown-deployment/180697 "2019-05-12T14:55:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![max17](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/max17/32/42694_2.png) [@max17](https://discuss.elastic.co/u/max17)\
**Post date:** [May 12, 2019, 2:55pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-unknown-deployment/180697/1 "2019-05-12T14:55:19Z")

</div>

Hi, I am using elasticsearch cloud and I've been provided a long URL of kibana i.e. -  
[https://5e765d3c21d84e8f8d6bd362d8bf6564.us-central1.gcp.cloud.es.io:9243](https://5e765d3c21d84e8f8d6bd362d8bf6564.us-central1.gcp.cloud.es.io:9243)

I have configured the DNS routing in my GCP cloudDNS for the URL forexample -  
[arp-es.xyz.com:9243](http://arp-es.xyz.com:9243)

But when I open the URL i.e [xyz.com](http://xyz.com) it gives me "Unknown Deployment" error. The kibana is working fine on the long URL mentioned above, but somehow it is not routing to the short URL ie- [arp-es.xyz.com](http://arp-es.xyz.com) (Was working before but after upgrading to elasticsearch 7.0.0 it is not working)

So for that I want to configure Nginx proxy which will forward the traffic from the long URL to the short one. Please help me how to configure it to forward the traffic.

---

<div class="post-metadata">

**Author:** ![alonsnir](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@alonsnir](https://discuss.elastic.co/u/alonsnir)\
**Post date:** [June 5, 2019, 1:34pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-unknown-deployment/180697/2 "2019-06-05T13:34:00Z")

</div>

In nginx conf file (in your case arp-es.xyz.com.conf)

```
server{
        listen *:80;
        server_name arp-es.xyz.com;
        location ~* ^/dashboard/(.*){
                rewrite ^ https://5e765d3c21d84e8f8d6bd362d8bf6564.us-central1.gcp.cloud.es.io:9243 permanent;
        }
}

```

then access it with [https://arp-es.xyz.com/dashboard/](https://arp-es.xyz.com/dashboard/)

---

<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:** [July 3, 2019, 1:34pm UTC](https://discuss.elastic.co/t/elasticsearch-kibana-unknown-deployment/180697/3 "2019-07-03T13:34:05Z")

</div>

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