Installation

Setting Splunk Enterprise URL

LCelley
Explorer

I've been attempting to set a url for our single instance of Splunk. Right now we've been accessing it at http://servername:8000, but what I'm looking for is something like http://company.splunk.com.

I've been able to set a cname dns record, but it only seems to accept the server name. I'm wondering what I'm missing to be able to redirect both the server name and port number.

Labels (2)
0 Karma
1 Solution

thambisetty
SplunkTrust
SplunkTrust

@LCelley 

  1.  DNS record : when you resolve for example "company.splunk.com" then it should return IP of your splunk instance.
  2. Splunk web port change: By default Splunk web uses port 8000, you have to change this to 80 if you don't want to specify port in URL. http default port is 80 so you don't need to specify port along with FQDN.

How to change web port from CLI:

$SPLUNK_HOME/bin/splunk set web-port 80 

$SPLUNK_HOME/bin/splunk restart

————————————
If this helps, give a like below.

View solution in original post

0 Karma

thambisetty
SplunkTrust
SplunkTrust

@LCelley 

  1.  DNS record : when you resolve for example "company.splunk.com" then it should return IP of your splunk instance.
  2. Splunk web port change: By default Splunk web uses port 8000, you have to change this to 80 if you don't want to specify port in URL. http default port is 80 so you don't need to specify port along with FQDN.

How to change web port from CLI:

$SPLUNK_HOME/bin/splunk set web-port 80 

$SPLUNK_HOME/bin/splunk restart

————————————
If this helps, give a like below.
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...