Forum Discussion
Redirect HTTPS traffic to external site securely
We have a site that's been setup on an external host by our marketing team without consulting IT. So what has happened is that we have a newly registered domain we own (ie. ), with a SSL certificate installed for on it. This URL redirects the user to the external third-party site (ie. new-site.servicehost.com) who has their own SSL certs installed. So when a visitor goes to our URL they are currently getting SSL errors saying the site name doesn't match. Duh!
Ok, so I've suggested we route this through the F5 as a quick solution and probable long term fix. My thought is to setup a VS on the F5 with our URL and SSL certificate. Then pass the traffic over to the External host. However I'm fairly new to building F5 stuff and unsure if this will work as I see it in my mind.
My thoughts: Setup new VS with cert installed for . Create iRule as follows:
when HTTP_REQUEST {
HTTP::redirect "https://new-site.servicehost.com/"
}
Would this work for this situation?
- Jhaunu_Gupta
Nimbostratus
when HTTP_REQUEST { if { [HTTP::host] eq "site1.com" } { HTTP::redirect "; } }
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com