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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...