Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

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

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

If DNS is the only case you want , then you man point using CNAME as below

xyz.abc.com,IN CNAME bla.bla.bla.aws.com

-SAM

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

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.

  1. "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.

  2. 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.

  3. 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

0