URL redirection using application gateway
Hi,
I am trying to redirect xyz.app url TO xyz.com url
I have created a http based listener with host name "xyz.app" and a rule that will redirect the request to other https based listener with name "xyz.com" and appropriate common name matching certificate
when I try to browse xyz.app, I get CN name invalid certificate error.
Developer tools in the browser shows following transaction :
General
request url: http://xyz.app/
status code: 307 internal redirect
Response headers:
Location: https://xyz.app/ (which I am expecting it to be https://xyz.com/ considering redirection rule in place)
General
request url: https://xyz.app/
any idea/inputs would be very much appreciated!!