# Accessing Kibana using hostname

**URL:** <https://discuss.elastic.co/t/accessing-kibana-using-hostname/369520>\
**Category:** Kibana\
**Created:** [October 28, 2024, 8:24am UTC](https://discuss.elastic.co/t/accessing-kibana-using-hostname/369520 "2024-10-28T08:24:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayjayy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayjayy/32/138767_2.png) [@jayjayy](https://discuss.elastic.co/u/jayjayy)\
**Post date:** [October 28, 2024, 8:24am UTC](https://discuss.elastic.co/t/accessing-kibana-using-hostname/369520/1 "2024-10-28T08:24:35Z")

</div>

I have an ELK setup on Ubuntu and I am trying to access the Kibana Web through hostname. I can access Kibana with my IP address but not hostname despite setting the server.publicBaseUrl: "https://:5601".

I am enable to curl the hostname however the HTTP status code returned is HTTP/ 1.1 302 Found, Location: /spaces/enter. What is the problem?
