# I want to Kibana connect with exemple.com

**URL:** <https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498>\
**Category:** Kibana\
**Created:** [March 5, 2018, 11:57am UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498 "2018-03-05T11:57:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)\
**Post date:** [March 5, 2018, 11:57am UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498/1 "2018-03-05T11:57:41Z")

</div>

Hello, I wish not to connect anymore to Kibana with the private IP. Thus I want to connect with [http://exemple.com](http://exemple.com). I made a lot of test of configuration but without results. What do I have to make please?

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [March 5, 2018, 7:44pm UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498/2 "2018-03-05T19:44:53Z")

</div>

At a high level you need to buy a domain, set a forward DNS entry from [example.com](http://example.com) to your server's IP address, and set kibana's listen address to the server's public IP. I would recommend setting a proxy in between with basic auth or using the security plugin to secure your data. You'll also need to make sure there aren't any firewall rules blocking the address you're serving from.

The first two steps are dependent on your provider, the listen address can be set in kibana.yml with the `server.host` setting.

Can you share what you've done so far and we can dive in further?

---

<div class="post-metadata">

**Author:** ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)\
**Post date:** [March 6, 2018, 9:13am UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498/3 "2018-03-06T09:13:41Z")

</div>

I have a domain. But when I want to use a domain in configuration files, I have an 504 error "Gateway Time-out" or 502 "Bad Gateway if I add proxy\_connect\_timeout 300; , proxy\_send\_timeout 300; , proxy\_read\_timeout 300; and send\_timeout 300; in nginx.conf, in http { ... }.

I have a public IP. And I have a proxy with autentificazion when I enter URL ([http://XXX.XXX.XXX.XXX](http://XXX.XXX.XXX.XXX)) in my web browser.

elasticsearch.yml  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/b/cb8de3a019db3f894c042df152f98c4bbb1112d5.png)

kibana.yml

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/1/b186c621823e5704755c93fae0bee0b32a9bc802.png)

/etc/nginx/sites-enabled/default  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a3cbddeced983a8b50758a4378277c2da6600983.png)

logstash.yml  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/a/ca0c93624d39153fe5bc1f8bedbb555945c65b97.png)

---

<div class="post-metadata">

**Author:** ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)\
**Post date:** [March 12, 2018, 3:50pm UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498/4 "2018-03-12T15:50:02Z")

</div>

Someone can help me please ?

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [March 12, 2018, 8:05pm UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498/5 "2018-03-12T20:05:23Z")

</div>

Hey my apologies I missed your notification.

In your nginx configuration, server\_name should be set to `exemple.com`. The proxy pass looks correct. On your server with nginx, make sure you can ping private ip in kibana.yml.

When you say private ip are you accessing this on the same network? lan?

---

<div class="post-metadata">

**Author:** ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)\
**Post date:** [March 12, 2018, 8:21pm UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498/6 "2018-03-12T20:21:30Z")

</div>

I put on [example.com](http://example.com) but it did not work. I tried different things but without results.  
The ping works well to the private address since I access the web interface via the private IP address.  
The private IP address is in another network because I go through a VPN.

---

<div class="post-metadata">

**Author:** ![Amandine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amandine/32/28305_2.png) [@Amandine](https://discuss.elastic.co/u/Amandine)\
**Post date:** [March 13, 2018, 9:08am UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498/7 "2018-03-13T09:08:20Z")

</div>

Thank you ! I have just change my server\_name in nginx.

---

<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:** [April 10, 2018, 9:08am UTC](https://discuss.elastic.co/t/i-want-to-kibana-connect-with-exemple-com/122498/8 "2018-04-10T09:08:34Z")

</div>

Closed on April 10, 2018, 9:08am UTC

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