Security

How to change Splunk accessing URL

thiru53
New Member

Hi,
I would like to change splunk accessing URL,
Currently running on http://localhost:8000
I need to change it as http://example.splunk.com
For these, what conf file i need to change.

Tags (1)
0 Karma

chimell
Motivator

hi thiru53
To change your splunk URL http://localhost:8000 find the default host name of your machine and replace http://localhost:8000 by

http://<hostname>:8000 

For example if your default host name is momo-PC
use http://momo-PC:8000 like URL
you can also use IP adresse for example http://121.0.0.7:8000

0 Karma

lguinn2
Legend

This is a duplicate of http://splunk-base.splunk.com/answers/37187

Consult the answers in both places!

0 Karma

Simeon
Splunk Employee
Splunk Employee

You can edit the default port in the web.conf file in $SPLUNK_HOME/etc/system/local.

This is documented quite well in the admin guide, as well as reference documentation.

Additionally, you can use the splunk command:

./splunk set web-port 80 -auth admin:changeme

To change your DNS, you will need to consult your own network infrastructure.

0 Karma

w0lverineNOP
Path Finder

I down voted this post because the web.conf file is not in system/local anymore

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...