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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...