Security

Since our company recently changed names, how to get splunkweb to redirect from url https://splunk.oldname.com to https://splunk.newname.com?

asamartinlumira
New Member

Our company recently changed names, and I updated our splunk server (and certificate) from the url https://splunk.oldname.com to https://splunk.newname.com.

When I browse to https://splunk.newname.com everything is working fine. Browsing to https://splunk.oldname.com give a certificate error (this is expected) but I'd rather have that url redirect to splunk.newname.com instead.

But I can't figure out how to get redirect working so that when someone goes to https://splunk.oldname.com it will redirect (change) the url to https://splunk.newname.com

Is there a setting in the splunk web configuration that will do this? Or is this handled somewhere else? On the DNS side, there are two CNAME records: splunk.oldname.com and splunk.newname.com that both point to the same Amazon AWS instance.

Thanks in advance for anyone who might know how to set this up.

Tags (3)
0 Karma

chanfoli
Builder

The problem I see is that in order to send a redirect you have to connect to the service and to connect to to an https service, the service has to present a certificate and the browser will complain if the CN on the cert does not match the full hostname of the URI. So the only way I see this working is if you had a service with a valid certificate of splunk.oldname.com responding on the IP where that FQDN points to which would then send a redirect to the splunk.oldname.com

We have handled similar situations in the past by hosting certs on a load balancer and having it handle redirects, but essentially the flow (and cost of keeping old cert valid) is the same.

One possible solution is a UCC/SAN certificate.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...