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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...