Forum Discussion
Need to do url redirection on DNS level
Need to do redirection on DNS level.
1: my parent domain abc.com hosted on some Global DNS, which point towards my F5 listener IP.
2: created an URL (sub domain) xyz.abc.com
3: application which is behind the xyz.abc.com is hosted on bla.bla.bla.aws.com (outside my environment) 4: now requirement is when user access xyz.abc.com, then the request should redirect to bla.bla.bla.aws.com 5: Need help to configure, what is mentioned in point 4
Regards,
Rahul Rathor
- Stanislas_Piro2
Cumulonimbus
Http Redirect is not available in dns protocol!
You must create a http virtual server in your F5 to manage this redirect!
If this is a https web site, you must create a https virtual server with a valid and public certificate
- M_2
Altocumulus
If DNS is the only case you want , then you man point using CNAME as below
xyz.abc.com,INCNAME bla.bla.bla.aws.com
-SAM
- Techgeeeg
Nimbostratus
Well Rahul,
This is an interesting situation and you need to play on the DNS level a bit to achieve this. So let us go through some series to find an answer as below.
-
"xyz.abc.com" which is a sub-domain of "abc.com" has name server as F5-DNS. The domain name hosting of "abc.com " is done on some Domain Registrar outside.
-
Similarly for bla.bla.bla.aws.com first thing you have to do is to create the CNAME from xyz.abc.com to bla.bla.bla.aws.com and give the name Server IP that will resolve this bla.bla.bla.aws.com to and IP address or just give the A record for this bla.bla.bla.aws.com in your F5-DNS so it can return the IP address to the users.
-
Once the name resolution is done for this new name the user will connect directly to this server.
Feel free to ask further question on this.
Regards, Techgeeg
-
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