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
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>