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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...