Forum Discussion
AngryCat_52750
Nimbostratus
Jul 10, 2013Stream/URL Rewrite
We own a public domain - www.ilovetacos.com and current we re-direct this domain to an external vendor through DNS.
Client request -> comes into us -> we re-direct through DNS servers to external vendor -> www.buymoretacos.com
We want to to the following. when the user goes to www.ilovetacos.com, they always see www.ilovetacos.com eventhough they are actually on a different site.
Would a stream profile or url rewrite be best? Thoughts?
3 Replies
- Kevin_Stewart
Employee
When you "re-direct through DNS", are you sending a literal 30x redirect, forcing the user's browser to first resolve and then go to another service external to your environment? Example:
when HTTP_REQUEST {
if { [HTTP::host] equals "www.ilovetacos.com" } { HTTP::redirect "http://www.bymoretacos.com" }
}
Or is all traffic still passing through your VIP? - AngryCat_52750
Nimbostratus
yes.. its a 301 redirect to the external vendors IP address..
currently nothing is passing through any VIPs..
we are going to do the following -
1.) Update public DNS so www.ilovetacos.com points to our IP space
2.) It comes in and we do a simple redirect to the external vendors site - www.buymoretacos.com
future state -
1.) End user should always see www.ilovetacos.com and not www.buymoretacos.com eventhough they are on that site.. - Kevin_Stewart
Employee
You're messing with DNS at this point I think. I believe you're basically saying:
1. Client request to www.ilovetacos.com -> arrives at your IP space (F5 VIP)
2. You redirect client to www.ilovetacos.com and expect the client to resolve to another address somewhere else.
The browser won't be able to resolve the same name to TWO different IP addresses. In any case, in order to alter what the client sees, all traffic must pass through your environment.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects